README
test
@castianta/telecontrol-card
通用面板组件
API
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
pageContainer | 外层面板 | 否 | PageContainerProps | - |
- |
cardHeader | 头部卡片 | 否 | CardHeaderProps | - |
见下 |
cardMain | 内容区面板 | 否 | CardMainProps | - |
见下 |
CardHeaderProps
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
dom | 内层渲染 dom | 否 | React.ReactNode | - |
- |
(...ProCardProps) | ProComponents 的 ProCardProps | 否 | ProCardProps | - |
- |
CardMainProps
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
tabs | 内层渲染 dom 当为null 或者不传时为普通 card 组件模式 |
否 | null | ProCardTabs |
- |
- |
dom | 当为普通 card 时,dom 传值 React.ReactNode 类型,当为 tabs 选项卡片模式 Array | 否 | React.ReactNode | {dom,...TabPaneProps}[] |
- |
- |
(...ProCardProps) | ProComponents 的 ProCardProps | 否 | ProCardProps | - |
- |