React-native TabBarIOS示例Demo
作者:
Z_ying521 | 来源:发表于
2016-09-20 10:12 被阅读160次
首先要导入TabBarIOS控件
在render方法中渲染底部TabBarIOS

设置第一个Item,systemIcon为系统的样式,title为自定义样式,自定义和系统只能用一种

设置第二块第三块Item,其中<View>此为页面内容</View>

Item选择之间的页面切换

第一个Item管理的页面

第二个Item管理的页面

自定义的title='首页'属性显示出来的Item效果,badge='3'消息为3

systemIcon='bookmarks'效果
本文标题:React-native TabBarIOS示例Demo
本文链接:https://www.haomeiwen.com/subject/aktoettx.html
网友评论