nuke-tab

0.1.2 • Public • Published

Tab

  • category: UI
  • chinese: 自由tabbar
  • type: UI

API

Tab

参数 说明 类型 默认值
renderTabBar function 渲染tab 方法 Tab.DefaultTabBar
tabBarPosition tab位置top bottom string top
tabHeight bar的高度 Number 128
contentStyle 自定义内容样式,只有在tab不是最外层容器的时候需要使用 Object {}

Tab.DefaultTabBar

上层会传以下props到组件

props.tabs: tab数组 props.goToPage:function props.activeTab:function

Readme

Keywords

Package Sidebar

Install

npm i nuke-tab

Weekly Downloads

3

Version

0.1.2

License

none

Last publish

Collaborators

  • doub
  • fnatic
  • leanhunter