Props

View props...

badge string, number

Little red bubble that sits at the top right of the icon.

icon Image.propTypes.source

A custom icon for the tab. It is ignored when a system icon is defined.

onPress function

Callback when this tab is being selected, you should change the state of your component to set selected={true}.

renderAsOriginal bool

If set to true it renders the image as original, it defaults to being displayed as a template

selected bool

It specifies whether the children are visible or not. If you see a blank content, you probably forgot to add a selected one.

selectedIcon Image.propTypes.source

A custom icon when the tab is selected. It is ignored when a system icon is defined. If left empty, the icon will be tinted in blue.

style View#style

React style object.

systemIcon enum('bookmarks', 'contacts', 'downloads', 'favorites', 'featured', 'history', 'more', 'most-recent', 'most-viewed', 'recents', 'search', 'top-rated')

Items comes with a few predefined system icons. Note that if you are using them, the title and selectedIcon will be overridden with the system ones.

title string

Text that appears under the icon. It is ignored when a system icon is defined.

TabBarIOS.Item#icon

icon Image.propTypes.source A custom icon for the tab. It is ignored when a system icon is defined.

2016-06-23 04:25:34
TabBarIOS.Item#onPress

onPress function Callback when this tab is being selected, you should change the state of your component

2016-06-23 04:25:34
TabBarIOS.Item#title

title string Text that appears under the icon. It is ignored when a system icon is defined.

2016-06-23 04:25:36
TabBarIOS.Item#selected

selected bool It specifies whether the children are visible or not. If you see a blank content, you probably

2016-06-23 04:25:35
TabBarIOS.Item#style

style View#style React style object.

2016-06-23 04:25:35
TabBarIOS.Item#renderAsOriginal

renderAsOriginal bool If set to true it renders the image as original, it defaults to being displayed as

2016-06-23 04:25:35
TabBarIOS.Item#badge

badge string, number Little red bubble that sits at the top right of the icon.

2016-06-23 04:25:33
TabBarIOS.Item#selectedIcon

selectedIcon Image.propTypes.source A custom icon when the tab is selected. It is ignored when a system

2016-06-23 04:25:35
TabBarIOS.Item#systemIcon

systemIcon enum('bookmarks', 'contacts', 'downloads', 'favorites', 'featured', 'history', 'more', 'most-recent', 'most-viewed', 'recents', 'search',

2016-06-23 04:25:36