1.0.1 • Published 3 years ago
shj-tabs-list v1.0.1
TabsList
API
参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 |
---|---|---|---|---|---|
tabPaneList | 渲染的 tabs | no | array | title:string,key:number/string,content:ReactNode/string/number | key 不携带,默认采用下标 |
defaultActiveKey | 初始化选中面板的 key | no | string | '0' | |
onChange | 切换面板的回调 | no | function({e}) |
1.0.1
3 years ago