npm install nuke-tab- category: UI
- chinese: 自由tabbar
- type: UI
---
参数 | 说明 | 类型 | 默认值
-----|-----|-----|-----
renderTabBar | function | 渲染tab 方法| Tab.DefaultTabBar
tabBarPosition| tab位置top bottom|string|top
tabHeight | bar的高度 | Number |128
contentStyle | 自定义内容样式,只有在tab不是最外层容器的时候需要使用 | Object |{}
上层会传以下props到组件
props.tabs: tab数组props.goToPage:functionprops.activeTab:function