14 Commits

Author SHA1 Message Date
Thomas Subera
046acd2b5e Allow tabBarLabel to be also a function again (#1156)
This fixes #1024
2017-04-22 08:11:45 +02:00
Mike Grabowski
93976d358e Introducing flat options (#984)
* Initial commit

* Remove HybridExample (#985)

* Remove HybridExample

* Remove last mention of HelloHybrid

* Remove console log

* Fix flow and example

* Fix routers api docs

* Keep options in single place

* chore

* Fix styling

* Organise miscs

* Better flow type for screen options

* Flow test website and add more types to options

* navigationOptions instead of prevOptions makes more sense

* Fixes

* Fix up docs

* Fix

* Update route decl

* Provide error when removed API is used

* Remove lock

* Add validators

* Make StacksOverTabs config valid again

* Do not return

* Fix redbox
2017-04-12 15:49:08 -07:00
Navid Taha
96a34db809 Add iconStyle prop to tabBarOptions for TabBarTop (#965) 2017-04-08 23:32:52 +05:30
Javier Olaechea
65e71042d5 Docs: Update md links from coodoo's fork to react-community (#750) 2017-03-22 13:51:16 -07:00
Karan Thakkar
c5f2475182 fix(docs): Fix incorrect style in TabNavigator sample (#734)
The example provides styling for the tab icon via the `icon` property in the styles object. However in the example, it is used as `tabIcon` which does not exist.
2017-03-19 17:43:15 +05:30
Jordan Hayashi
eb6646f6da Make TabNavigator code example formatting consistent (#462)
* Make TabNavigator code example formatting consistent

* Fix typo in StackRouter docs
2017-03-06 22:50:12 -08:00
Mike Grabowski
71e8c95b34 Add React.Element support for TabBar/Drawer and fix docs (#451)
* Initial impl

* Fix up some docs and support more for drawer

* Fix comments

* Support TabBar

* Make flow more correct

* Clarify even more

* Rename all the things lol

* Also rename renderLabel to getLabel
2017-02-23 20:39:11 +05:30
William Schurman
b9bc386a4b Pass through screenProps to nested navigators
This changes the behaviour of screenProps so that the props no longer get splatted.
Components will receive this as `this.props.screenProps`.
2017-02-09 01:27:56 +05:30
kylpo
acc893d8e8 Add showLabel prop to tabBarBottom (#234) 2017-02-08 22:24:02 +05:30
Jason Sendros
d2fc150f69 Replace usage of label with title prop for Buttons (#194) 2017-02-06 08:29:11 +05:30
Jakob Hilden
8d722f43e9 Implement labelStyle for TabBarBottom (#173) 2017-02-04 18:03:38 +05:30
Jeremy Lu
b805978d9b Add screenProps example and improve docs (#101) 2017-02-02 02:57:05 +05:30
Nicolas Beck
5d5d83c582 fixed initialRouteName documentation (#121)
https://github.com/react-community/react-navigation/issues/119
2017-01-31 18:26:42 -08:00
Adam Miskiewicz
c37ad8a0a9 Initial public release of React Navigation 2017-01-26 11:53:33 -08:00