README
TaskList
@castianta/task-list
任务列表
API
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
mainCard | 主面板 antd 的 Card 组件 | 否 | CardProps | - |
- |
titleCard | 主面板 头部 的 ProCard 组件 | 否 | ProCardProps | - |
- |
bodyCard | 主面板 内容 的 ProCard 组件 | 否 | ProCardProps | - |
- |
drawer | 抽屉 antd 的 Drawer 组件 | 否 | DrawerProps | - |
- |
buttonDrawer | 触发抽屉按钮 antd 的 Button 组件 | 否 | ButtonProps | - |
onClick:(e,setVisible)=>void 点击事件可手动控制抽屉开关 |
form | 搜索条件 ProForm 的 BetaSchemaForm | 否 | ProFormProps | - |
- |
taskColumns | 任务状态列 | 否 | TaskColumnsProps[] | [{title:'待执行'},{title:'已完成'}] |
见下 |
TaskColumnsProps
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
(...ProCardProps) | 所有参数继承 ProCard 组件 | 否 | ProCardProps | - |
- |
dom | 面板内部自定义渲染元素 | 否 | React.ReactNode | <ProList /> |
- |
list | 面板内部默认的 ProList 元素参数控制 | 否 | ProListProps | - |
- |