Allow tabBarLabel to be also a function again (#1156)

This fixes #1024
This commit is contained in:
Thomas Subera
2017-04-22 08:11:45 +02:00
committed by Mike Grabowski
parent afe3c2be9e
commit 046acd2b5e
3 changed files with 6 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ React Element or a function that given `{ focused: boolean, tintColor: string }`
#### `tabBarLabel`
Title string of a tab displayed in the tab bar. When undefined, scene `title` is used. To hide, see `tabBarOptions.showLabel` in the previous section.
Title string of a tab displayed in the tab bar or React Element or a function that given `{ focused: boolean, tintColor: string }` returns a React.Element, to display in tab bar. When undefined, scene `title` is used. To hide, see `tabBarOptions.showLabel` in the previous section.
### Navigator Props