cnd-components-mcp
Version:
An MCP service for Cnd components query | 一个减少 Cnd 组件代码生成幻觉的 MCP 服务,包含系统提示词、组件文档、API 文档、代码示例和更新日志查询
24 lines (21 loc) • 694 B
Markdown
## 基本使用
```tsx preview
import React from "react";
import { CndStatus } from "@ali/cnd";
const Demo = () => {
return (
<div>
<CndStatus />
<CndStatus type='info' label='信息' />
<CndStatus type='success' label='运行中' />
<CndStatus type='warning' label='欠费停服中' />
<CndStatus type='error' label='创建失败1' />
<CndStatus type='fail' label='创建失败2' />
<CndStatus type='loading' label='创建中' />
<CndStatus type='wait' label='待生效' />
<CndStatus type='stop' label='运行停止' />
</div>
);
};
export default Demo;
```