UNPKG

cnd-components-mcp

Version:

An MCP service for Cnd components query | 一个减少 Cnd 组件代码生成幻觉的 MCP 服务,包含系统提示词、组件文档、API 文档、代码示例和更新日志查询

26 lines 2.02 kB
--- group: title: 云原生业务组件 --- https://code.alibaba-inc.com/cn-lowcode/cnd-transfer | 属性 | 说明 | 类型 | 默认值 | | ---------------- | ------------------------ | -------------------------------------- | ------ | | value | | string[] | [] | | onChecked | 数据发生改变时触发事件 | (values: string[]) => void | - | | dataSource | 列表项 | [DataSource](#DataSource)[] | [] | | titles | 左右标题 | `React.ReactNode`[] | [] | | className | 自定义类名 | string | - | | style | 自定义样式 | `React.CSSProperties` | - | | listBoxStyle | 列表区自定义样式 | `React.CSSProperties` | - | | checkedBoxStyle | 选择区自定义样式 | `React.CSSProperties` | - | | itemSize | 列表项高度 | number | 30 | | checkedAllButton | 全选按钮 | { show: boolean, text: `React.ReactNode` } | - | | clearAllButton | 清空按钮 | { show: boolean, text: `React.ReactNode` } | - | | onPressEnter | 按下回车事件 | (evt: `React.KeyboardEvent`\<HTMLInputElement\>) => void | - | | empty | 空状态 | `React.ReactNode` | - | | loadingProps | 加载状态 | { show: boolean, text: `React.ReactNode` } | - | | 属性 | 说明 | 类型 | 默认值 | | ----- | ----- | ------ | ------ | | label | 选项名 | string \| number | - | | value | 选项值 | string \| number | - | | disabled | 禁用态 | boolean | - |