86 Commits

Author SHA1 Message Date
Mike Grabowski
4f1bd4c888 Fix style prop for header 2017-02-10 22:06:59 +05:30
juhasuni
ac8260874a Set numberOfLines to 1 for HeaderTitle (#260) 2017-02-09 20:11:18 +05:30
Satyajit Sahoo
1f80d98112 Show screen props warning only once. Fixes #258 2017-02-09 19:32:59 +05:30
Satyajit Sahoo
1247806f9b Make compatible with webpack (#244) 2017-02-08 13:00:58 -08:00
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
Satyajit Sahoo
797833a69a Make tabBar visible when no config is gived. Fixes #239 2017-02-09 01:22:54 +05:30
Mike Grabowski
8e8c4fb9a1 Fixes several back button issues (#237)
* Disable header back button label as the feature is still wip

* Fix icon size
2017-02-08 23:38:06 +05:30
kylpo
acc893d8e8 Add showLabel prop to tabBarBottom (#234) 2017-02-08 22:24:02 +05:30
juhasuni
307632b575 Expose onTransitionStart/End props to StackNavigator (#230)
* Add onTransitionStart/End options to StackNavigator 'stackConfig'

* Add documentation for onTransitionStart/End options

* Define onTransitionStart/End props optional
2017-02-08 08:53:41 -08:00
microwavesafe
c4787a4bbb Add SetParams handling in TabRouter.js (#132) 2017-02-08 16:16:19 +05:30
Daniel Hood
5501bcdb44 Allow Transitioner to queue single animation (#191)
remove some extra spaces

use navigationScene type

fix index race condition
2017-02-07 14:19:27 -08:00
microwavesafe
edad95a96d Add visible param to TabBar (#152) 2017-02-08 02:51:37 +05:30
Mike Grabowski
c35a7065b8 Revert "Better back button label" (#203) 2017-02-06 19:24:18 +01:00
Emiel Mols
fa826bfe17 Fix withCachedChildNavigation recreating the child navigations each time (#201) 2017-02-06 22:48:20 +05:30
Emiel Mols
33767311ae createNavigationContainer: cache previously used navigation when stateful (#202)
Prevents unnecessary creating new navigation objects when the container is passing through other props that are changing
2017-02-06 22:42:33 +05:30
Jakub Stasiak
aead8ff9fb Add withNavigation HOC (#137) 2017-02-06 18:58:04 +05:30
Mike Grabowski
677625ef6a Better back button label (#158) 2017-02-05 19:49:18 +05:30
Daniel Hood
6411075257 Allow labelStyle to override tab label color (#181) 2017-02-05 07:28:50 +05:30
Daniel Hood
eece5ad56a Add titleStyle to header (#176) 2017-02-05 03:42:33 +05:30
Jakob Hilden
8d722f43e9 Implement labelStyle for TabBarBottom (#173) 2017-02-04 18:03:38 +05:30
juhasuni
a64eb46c9c Add support for cardStyle prop (#106)
* Add support for cardStyle prop

* Add documentation for cardStyle prop
2017-02-01 19:31:24 -08:00
Leo Nikkilä
b07ba79d89 Fix back button tinting (#144) 2017-02-02 03:56:03 +05:30
Jeff Carbonella
2e6f7a015f Use redux constants and action creator functions (#120) 2017-02-02 02:57:51 +05:30
Mike Grabowski
7a20389e04 Refactor header, tintColor support, redesign iOS back button (#109) 2017-02-02 02:50:12 +05:30
Elliot Hesp
736d0db732 Support label as component in TabNavigator (#128) 2017-02-01 17:10:10 +05:30
Ferran Negre
123bce5402 Added drawerPosition prop to DrawerView. Fixes #87 (#89) 2017-01-30 22:14:57 +05:30
Satyajit Sahoo
11e98b15d2 Make sure inputRange has at least 2 values. Fixes #62 2017-01-28 23:34:02 +05:30
Satyajit Sahoo
1fa38c2af8 Fix drawer rendering wrong route (#46) 2017-01-28 00:44:43 +05:30
Mike Grabowski
7c0fcc6cf5 Add header.left property (#29)
* Add header.left property

* Add docs

* Updates

* Update

* Remove unused param

* Update'

* fix

* Make sure to guard undefined defaultProps
2017-01-27 16:48:26 +00:00
Hilke Heremans
9983ced4ee withCachedChildNavigation: show component name (#32)
When a component is wrapped with the withCachedChildNavigation, the component name was not always displayed. This fixes that which facilitates debugging.
2017-01-27 20:09:31 +05:30
Mike Grabowski
23ca61679d Replace header.bar with headerComponent 2017-01-27 17:42:12 +05:30
Mike Grabowski
a60607385b Allow CardStack default header to receive a custom style 2017-01-27 17:42:12 +05:30
Mike Grabowski
0c99035562 Implement default navigationOptions (#1)
* Bring back 222 impl.

* Add it for TabNavigator

* Fix eslint issues and flow in the file

* First attempt at the docs

* Include docs

* Fix some typos
2017-01-27 11:33:03 +00:00
lintonye
ddb2107acd Use 0.99-cliff in inputRange (#17) 2017-01-26 23:41:01 -08:00
Mateusz Zatorski
f4ddef7343 fix Page not found blog bug 2017-01-26 21:46:41 +00:00
Adam Miskiewicz
c37ad8a0a9 Initial public release of React Navigation 2017-01-26 11:53:33 -08:00