UNPKG

@linkdesign/screen

Version:

屏组件库,但使用场景又不局限于屏。主要用于BI、大盘和屏

27 lines (21 loc) 1.29 kB
--- title: API order: 3 --- <br/> | 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | |---------------------------|-------------------------------------------|------|------------------------------------------------------|--------|------| | [dataSource](#datasource) | 数据源 | Y | Array | - | | | activeKey | 位置坐标(受控) | N | String \| Number | - | | | defaultActiveKey | 位置坐标 | N | String \| Number | - | | | onChange | 切换选择回调 | N | Function<br />(activeKey: string \| number) => void; | - | | | ... | 其余参数继承自[ITitle](../?demo=Text_Title) | N | ITitle | - | | #### dataSource ```typescript type Data = { name: React.ReactNode; key?: string; } | string; // 数据源 dataSource: Data[]; ```