Commit Graph

2225 Commits

Author SHA1 Message Date
William Schurman
c5a80036c5 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 00:30:09 +05:30
Satyajit Sahoo
e88696f4a3 Make tabBar visible when no config is gived. Fixes #239 2017-02-09 01:22:54 +05:30
Mike Grabowski
182c07b74e Fixes several back button issues (#237)
* Disable header back button label as the feature is still wip

* Fix icon size
2017-02-08 19:08:06 +01:00
kylpo
ceb588d0ca Add showLabel prop to tabBarBottom (#234) 2017-02-08 08:54:02 -08:00
juhasuni
b4ee5494f8 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 18:53:41 +02:00
microwavesafe
0033992e11 Add SetParams handling in TabRouter.js (#132) 2017-02-08 10:46:20 +00:00
Daniel Hood
89df8b11b3 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
51ed42e15d Add visible param to TabBar (#152) 2017-02-07 21:21:37 +00:00
Taylor Hurt
0c6253a4ac Update Screen-Nav-Options.md (#218)
fix link
2017-02-07 16:01:46 -05:00
Harkirat Saluja
4ec62f482c Update DrawerNavigator.md (#212)
Button requires a title prop, and its same in other pages(tabbarNavigator, stackbarNavigator) but here it is label.
2017-02-08 00:23:44 +05:30
Sibelius Seraphini
43fd09fb43 fix typo on HybridContainer (#185) 2017-02-08 04:39:21 +12:00
Eli Perkins
6a3633de38 Fix typo in deep linking schema (#204)
This matches the rest of the definitions of the URI schema later on in the documentation and examples.
2017-02-07 11:39:10 -05:00
Mark Florisson
bc7eff23ce Elaborate on how to use the reset action in docs (#213) 2017-02-07 16:38:54 +00:00
Mike Grabowski
d79a1649c0 Revert "Better back button label" (#203) 2017-02-06 19:24:18 +01:00
Emiel Mols
2a06b13388 Fix withCachedChildNavigation recreating the child navigations each time (#201) 2017-02-06 18:18:20 +01:00
Emiel Mols
dc46c08465 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 18:12:33 +01:00
Jakub Stasiak
b33a6c71f3 Add withNavigation HOC (#137) 2017-02-06 14:28:04 +01:00
Jason Sendros
85127a998d Replace usage of label with title prop for Buttons (#194) 2017-02-05 21:59:11 -05:00
Satyajit Sahoo
2669ba0252 Regenerate yarn.lock and tweak circle config 2017-02-06 07:28:42 +05:30
Satyajit Sahoo
fa53f828ef Regenerate yarn.lock 2017-02-06 04:46:31 +05:30
Mike Grabowski
60f6a0535a Better back button label (#158) 2017-02-05 15:19:18 +01:00
Daniel Hood
05bf241226 Allow labelStyle to override tab label color (#181) 2017-02-04 17:58:50 -08:00
Daniel Hood
a27328f7df Add titleStyle to header (#176) 2017-02-04 14:12:33 -08:00
Elliott Ro
108e349ac8 Clarify nav prop dispatch doc (#162) 2017-02-04 13:06:18 -08:00
Jakob Hilden
7f077dbc23 Implement labelStyle for TabBarBottom (#173) 2017-02-04 13:33:38 +01:00
Sagiv Ofek
665d38d7a9 Docs: add info about calling nav from same level component (#122)
* Use es6 default values for initial state

* Docs: add info about calling nav from same level component

* Docs: add info about calling nav from same level component update
2017-02-03 18:03:26 +01:00
Alejandro Garcia
adde613858 Fixed typo in HelloHybrid for ios (#151)
* Fixed typo in HelloHybrid for ios

* Use state.navState to get routeName in HelloHybrid example for ios
2017-02-02 17:41:15 +01:00
Matteo Mazzarolo
52c6f10688 Fixed reset action docs (#157)
- Added the index
- Actions is now an array
Related to https://github.com/react-community/react-navigation/issues/59#issuecomment-276972783
2017-02-02 17:40:02 +01:00
juhasuni
6e5411ce25 Add support for cardStyle prop (#106)
* Add support for cardStyle prop

* Add documentation for cardStyle prop
2017-02-02 05:31:24 +02:00
Leo Nikkilä
68f7247675 Fix back button tinting (#144) 2017-02-02 00:26:03 +02:00
Jeff Carbonella
b33c0ae133 Use redux constants and action creator functions (#120) 2017-02-01 16:27:51 -05:00
Jeremy Lu
d677e6d45e Add screenProps example and improve docs (#101) 2017-02-02 05:27:05 +08:00
Mike Grabowski
1621639b59 Refactor header, tintColor support, redesign iOS back button (#109) 2017-02-01 22:20:12 +01:00
Elliot Hesp
4d20c2a910 Support label as component in TabNavigator (#128) 2017-02-01 11:40:10 +00:00
Nicolas Beck
8ccca19e82 fixed initialRouteName documentation (#121)
https://github.com/react-community/react-navigation/issues/119
2017-02-01 03:26:42 +01:00
Alexey Pronevich
747c61a3d6 Update Guide-Headers.md (#114)
this.props must be in render
2017-01-31 19:17:50 +03:00
Kees Kluskens
8522bcd06d Fix typo in screen navigation prop (#111) 2017-01-31 14:47:28 +01:00
Nicolas Charpentier
de9708358b Add npm badge and change circleci style to shield (#103) 2017-01-30 22:18:02 -05:00
Taylor Hurt
acef35374d Fix typos and corrections in header guide (#102) 2017-01-30 22:17:43 -05:00
Ferran Negre
cc8fc5bb99 Set up Jest to be able to test RN UI components (#96) 2017-01-31 04:13:24 +01:00
Ferran Negre
ab82f88999 Added drawerPosition prop to DrawerView. Fixes #87 (#89) 2017-01-30 16:44:57 +00:00
Steviey
6be5b0d81c Added nodes.js cross platform file separator (#69) 2017-01-29 05:36:13 +01:00
Satyajit Sahoo
7b11a485bf Make sure inputRange has at least 2 values. Fixes #62 2017-01-28 23:29:27 +05:30
Satyajit Sahoo
4883a9d639 Update react-native-tab-view. Fixes #63 2017-01-28 23:27:56 +05:30
Satyajit Sahoo
312cbe0b04 Update react-native-tab-view
Fixed scrollview's style so it doesn't need layout 6ef48ed529

Fixes #50
2017-01-28 15:21:02 +05:30
Michael Guida
cca35c42bb Fix 'setting the header title' example (#56) 2017-01-28 03:33:36 -07:00
Satyajit Sahoo
e5bb708982 Fix drawer rendering wrong route (#46) 2017-01-28 00:44:43 +05:30
Sagiv Ofek
133da6d51e Use es6 default values for initial state (#44) 2017-01-27 14:08:22 -05:00
jamesmbowler
256c585f0a Fix minor typos (#43) 2017-01-27 10:51:49 -08:00
Gustavo Machado
dbede0149f Minor fix in the "Screen Navigation Options" sample (state undefined) (#41)
The current code as it was, depended on the "state" param, but the title was being defined as a string template literal.
2017-01-27 14:42:42 -03:00