牛骨文教育服务平台(让学习变的简单)

TabBarIOS.Item

属性

名称 类型 意义 默认值
badge string,number 小红泡
icon Image.propTypes.source 自定义图标
onPress function 当元素被选择时的回调函数
selected bool 表示子视图中控件是否可用 false
selectedIcon Image.propTypes.source 当元素被选择时,显示的图标
style style 样式
systemIcon enum(‘bookmarks’, ‘contacts’, ‘downloads’, ‘favorites’, ‘featured’, ‘history’, ‘more’, ‘most-recent’, ‘most-viewed’, ‘recents’, ‘search’, ‘top-rated’) 预设值的系统图标
title string 图标上的文本值