Commit Graph

2225 Commits

Author SHA1 Message Date
Mike Grabowski
0d8233def6 Add onNavigationStateChange (#453)
* Support

* Revert consoleg

* Add very bad doc

* Improve docs

* Surpress flow
2017-02-24 07:18:06 +01:00
Mike Grabowski
987471be7d 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 16:09:11 +01:00
Vlad Zhukov
71a86b17a0 fix (#454) 2017-02-23 17:35:08 +03:00
Javier Cuevas
8907c31b5a Fix redux documentation (#450)
I think the navigation key for the redux store should be `nav` and not `navReducer`.
2017-02-23 10:57:10 +01:00
Satyajit Sahoo
efb6a70660 Remove screen tracking without redux (#449)
This is a hack and we shouldn't put it in official documentation.
2017-02-23 15:10:40 +05:30
Luke San Antonio Bialecki
2e5ce8c2d6 Fix low header when scene doesn't take up entire screen (#446)
Adds a nested View around the content in CardStack so that the content expands
and puts the header bar at the top of the screen.
2017-02-23 00:47:51 -05:00
Mike Grabowski
de8a1d68bf Fix a header on Android (#437) 2017-02-22 12:28:53 +01:00
Mike Grabowski
9c9491b254 Fix header positions 2017-02-22 09:21:31 +01:00
Matt Hamil
dcaaecf08c Move Navigation Containers and containerOptions into Navigators API docs (#409)
* Removed Navigation Containers and containerOptions

Cut out text to move to navigators docs page

* Moved nav containers section to Navigators API docs
2017-02-21 22:45:19 -06:00
Mike Grabowski
610929bc4c Update StackNavScreen docs (#411)
Remove confusing mention of `color`
2017-02-22 05:15:42 +01:00
Angelo
09b23ee333 Updated the reducer (#431)
When the drawer opens / close, the result of AppNavigator.router.getStateForAction(action, state); is null. So the nav state in the store is null which causes errors. This solves that.
2017-02-22 05:15:30 +01:00
David Cameron
4deaa7c385 Update 2017-01-Introducing-React-Navigation.md (#410) 2017-02-21 20:49:59 -05:00
William Schurman
31a789513d Fix null style warning in Header component (#422) 2017-02-21 10:23:19 -08:00
James Isaac
7e03ffcf45 Merge action params into navigator's child screens (#306) 2017-02-20 21:59:46 +00:00
Ashoat
205915535d Make it possible for a screen to set gesturesEnabled (#385)
Closes #292
2017-02-20 16:22:15 -05:00
hysan
94272b3df1 Updated Hello Mobile Navigation for clarity (#265)
Per request [#228](https://github.com/react-community/react-navigation/issues/228), I've updated the the Hello Mobile Navigation guide to try and make it more approachable to newcomers like myself. I changed the order of some of the explanations and broke out passing params into its own section. This should make the guide easier to follow as only one new concept is introduced per section; a common principle in teaching methodology.

I'm open to suggestions as I am also a newcomer to both React Native and React Navigation. So it's very possible that there are concepts that I've misunderstood or am not explaining well.
2017-02-20 13:02:34 -05:00
Mike Grabowski
8d0072e850 Fix backgrounds (#399) 2017-02-20 18:10:10 +01:00
Kyle Kamperschroer
284409182b Add a simple motiviation section to the README (#35) 2017-02-19 17:48:35 -06:00
Mike Grabowski
3d09768aed Add back button label to header (#257) 2017-02-20 00:39:56 +01:00
Corentin de Boisset
db531a7604 Pass navigation prop to TabBarComponent (#396) 2017-02-20 00:32:12 +01:00
Satyajit Sahoo
55457dfafb More gestures cleanup (#353)
* More gestures cleanup

* Fix flow
2017-02-18 00:26:37 +05:30
lintonye
6452faf6bd CardStack: Don't overwrite custom transitionConfig with default (#99)
* Don't overwrite transitionConfg with default

* Call this.props.transitionConfig as a function

* Update flow definition of transitionConfig
2017-02-17 08:42:20 -08:00
Satyajit Sahoo
46bb01733f Update react-native-tab-view (#366)
Fixes #209
2017-02-17 21:58:10 +05:30
rmevans9
7167ef728e Make future proof (and also fix it for the current beta) (#322) 2017-02-16 09:24:16 -05:00
juhasuni
e7253f1186 Remove 'appBar' child component to fully support header styling (#341) 2017-02-16 16:00:33 +02:00
Adam Miskiewicz
b8559fcd38 1.0.0-beta.5
Fix broken `yarn publish`
2017-02-15 19:11:46 -08:00
Adam Miskiewicz
16bd126f87 1.0.0-beta.4 2017-02-15 18:57:31 -08:00
Adam Miskiewicz
fcaeee8aa2 Update yarn.lock to include react 15.4.2 2017-02-15 18:56:55 -08:00
Jakub Stasiak
5eee89f269 Exported withNavigation to web (#330) 2017-02-15 21:11:44 +01:00
Mike Grabowski
8de5c7df7f Overwrite 1x.ios as well 2017-02-15 19:26:48 +01:00
Satyajit Sahoo
96a9a256f3 Fix gesture recognition in card stack (#324) 2017-02-14 03:20:15 +05:30
Satyajit Sahoo
2e44476e75 Fix flow (#305)
* Fix Flow and Android build

* Enable flow on CI

* Fix and suppress flow errors
2017-02-13 21:56:30 +05:30
João Luís Lima
c151ccda40 adds button to photo screen (#301) 2017-02-13 06:05:12 +00:00
Jeremy Lu
5d9efc6799 Add showIcon to tabBarOptions so that icons can be hidden on iOS (#291) 2017-02-11 06:57:31 +08:00
Matt Revell
bafdcb1469 [FLOW] Fix missing "type" in flow import.
Fixes: Named import from module `../TypeDefinition` `ContextWithNavigation` is a type, but not a value. In order to import it, please use `import type`.
2017-02-10 16:01:01 +00:00
Mike Grabowski
92ea38dd1b Fix style prop for header 2017-02-09 09:44:21 +01:00
Jonathan Lalande
755a1ba71c Remove uncompleted sentence in Contributors guide. (#280) 2017-02-10 11:24:48 -05:00
Evan Turner
4b710285dc Add missing characters to navigators api doc (#264) 2017-02-09 12:41:46 -05:00
juhasuni
9584ecc985 Set numberOfLines to 1 for HeaderTitle (#260) 2017-02-09 16:41:18 +02:00
Li Lin
3c5464dd9e Add code sample for google analytics integration (#107) 2017-02-09 22:10:16 +08:00
Satyajit Sahoo
942bd081fc Bump version number 2017-02-09 19:33:44 +05:30
Satyajit Sahoo
9cb9e9ffe4 Show screen props warning only once. Fixes #258 2017-02-09 19:32:59 +05:30
Hilke Heremans
2df19d4bbc Add clarification for Redux <-> Nested Navigators (#26)
* Add clarification for Redux <-> Nested Navigators

See also https://github.com/react-community/react-navigation/issues/16

* Update per comments

* Update per comments in PR #26
2017-02-09 10:28:19 +01:00
kameyin
02a1a0dd06 React Native Buttons use title, not label. 2017-02-08 22:32:26 -05:00
James Long
d8407493a3 Update Transitioner.md
This API must have changed; after pulling from master I needed to update my code.
2017-02-08 15:35:52 -05:00
Satyajit Sahoo
d5ea58ab08 Make compatible with webpack (#244) 2017-02-09 02:30:58 +05:30
Satyajit Sahoo
da4b027ef8 Bump version number 2017-02-09 01:39:38 +05:30
Satyajit Sahoo
656b1f7405 Fix tintColor in example 2017-02-09 01:37:54 +05:30
Satyajit Sahoo
bcada84e05 Remove with navigation example 2017-02-09 01:36:27 +05:30
Satyajit Sahoo
41b6c9baee Updated react-native-tab-view This fixes a bug where React Native Tab View was trying to keep state in sync, but state was updating at a slower speed. 2017-02-09 01:31:22 +05:30