@ capra/ 核心
概览
@capra/core 发布 Capra 设计系统的基础反应组件, 以及软件包样式表入口点 @capra/core/styles.css。 。 。 .
文档
人可读文件可在 https://capra.cribl.io (中文(简体) )。 。 。 .
可读 LLM 文档可在 https://capra.cribl.io/llms.txt。 。 。 .
安装
pnpm add @capra/core @capra/theme react react-dom
使用量
import '@capra/theme/base.css';
import '@capra/core/styles.css';
import { Button } from '@capra/core';
export function Example() {
return <Button>Run search</Button>;
}
同伴依赖关系
@capra/core 预期 react 财务报告和审定财务报表 react-dom 作为同伴的依赖关系.
许可证
这个软件包是专有软件. 见 LICENSE.txt (英语)。 。 。 .