44 Commits

Author SHA1 Message Date
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
Koen Punt
5ca45e0aa5 add command to open URI in the iOS simulator (#909) 2017-04-04 21:01:30 -07:00
Mauricio Pasquier Juan
2a050da960 Fix wrong param name in the guides (#911)
The text used `name` as param but the examples used `user` instead.
2017-04-04 21:00:37 -07:00
Michel Maubert
e8726c1e68 add jest config for react-navigation in docs (#256) (#331)
* add jest config for react-navigation in docs (#256)

* Docs: Update redux-integration guide #246
2017-04-04 10:02:21 -07:00
Sabbir Ahmed
83f8a44219 Docs: Added clarification for header configuration (#891) 2017-04-03 07:07:47 +05:30
Juwan Wheatley
b0c05e5977 Fix rebase commands (#870) 2017-03-30 23:28:09 +05:30
PhpGuyZim
8196f62335 Update Guide-Nested.md (#813)
* Update Guide-Nested.md

Docs do not indicate that you must import the necessary module.

* Update Guide-Nested.md
2017-03-29 00:36:21 -07:00
Elliott Ro
dff746a83c Navigation Actions Doc (#338)
* Initial saving

* Updated docs

* Adding navigation actions into website App.js

* Updated navigation prop structure

* Added in missing link
2017-03-22 12:10:34 -07:00
Juwan Wheatley
a268d67b53 Adds documentation about forking and syncing repo (#765) 2017-03-22 05:42:18 +05:30
Neo
bbab489a6a Update Screen-Tracking.md (#549) 2017-03-03 12:28:58 +05:30
Taylor Hurt
99583d2a64 Update Screen-Tracking.md (#545)
* Update Screen-Tracking.md

updated names in the onNavigationStateChange example function

* Update Screen-Tracking.md
2017-03-02 16:01:50 +01:00
Bartol Karuza
2df983516b add import to clarify source of helper (#517)
* add import to clarify source of helper

It took me a while to figure out where 'addNavigationHelpers' comes from, maybe adding the import in the doc here will help the next guy.

* add spaces around imported value

* removed empty line
2017-03-01 13:18:08 +01:00
Mike Grabowski
26b165200f Add onNavigationStateChange (#453)
* Support

* Revert consoleg

* Add very bad doc

* Improve docs

* Surpress flow
2017-02-23 22:18:06 -08:00
Javier Cuevas
fdb5faae7e 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
e0c1c95e6f Remove screen tracking without redux (#449)
This is a hack and we shouldn't put it in official documentation.
2017-02-23 10:40:40 +01:00
Matt Hamil
fb856ba06d 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 20:45:19 -08:00
Mike Grabowski
62025cc8be Update StackNavScreen docs (#411)
Remove confusing mention of `color`
2017-02-21 20:15:42 -08:00
Angelo
8e1b6e9042 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-21 20:15:30 -08:00
hysan
257ce3eff9 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 10:02:34 -08:00
rmevans9
e30ac63f79 Make future proof (and also fix it for the current beta) (#322) 2017-02-16 19:54:16 +05:30
Jonathan Lalande
296e83abed Remove uncompleted sentence in Contributors guide. (#280) 2017-02-10 17:24:48 +01:00
Li Lin
163d5e4c07 Add code sample for google analytics integration (#107) 2017-02-09 19:40:16 +05:30
Hilke Heremans
73426e8015 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
microwavesafe
edad95a96d Add visible param to TabBar (#152) 2017-02-08 02:51:37 +05:30
Taylor Hurt
1c6c4c4c29 Update Screen-Nav-Options.md (#218)
fix link
2017-02-08 02:31:46 +05:30
Eli Perkins
207a5cc0b6 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 08:39:10 -08:00
Mark Florisson
77ec01296f Elaborate on how to use the reset action in docs (#213) 2017-02-07 08:38:54 -08:00
Elliott Ro
00b76c5423 Clarify nav prop dispatch doc (#162) 2017-02-05 02:36:18 +05:30
Matteo Mazzarolo
8bbe951e5b 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 08:40:02 -08:00
Jeff Carbonella
2e6f7a015f Use redux constants and action creator functions (#120) 2017-02-02 02:57:51 +05:30
Alexey Pronevich
68658c49f2 Update Guide-Headers.md (#114)
this.props must be in render
2017-01-31 17:17:50 +01:00
Kees Kluskens
4c45063662 Fix typo in screen navigation prop (#111) 2017-01-31 19:17:28 +05:30
Taylor Hurt
43957b298e Fix typos and corrections in header guide (#102) 2017-01-31 08:47:43 +05:30
Michael Guida
af7c3a3324 Fix 'setting the header title' example (#56) 2017-01-28 16:03:36 +05:30
jamesmbowler
bacc023385 Fix minor typos (#43) 2017-01-28 00:21:49 +05:30
Antoine Lucas
7c1a95d7a9 Fix code's string to be coherent with screenshot (#22) 2017-01-27 15:56:19 +00:00
Mateusz Zatorski
e4f4575104 Update the guide for Default Navigation Options (#25) 2017-01-27 19:48:01 +07:00
Hilke Heremans
d9a008f000 Correct Redux example with addNavigationHelpers (#24) 2017-01-27 17:24:40 +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
Ashish Chaudhary
fa145dd518 Update Screen-Navigation-Prop.md (#19) 2017-01-26 23:41:24 -08:00
Hilke Heremans
c9a69b48ee Correct tiny typo (#20) 2017-01-26 23:40:26 -08:00
Brenton Simpson
ede9dc766c Fix links to web site (#7)
Closes #6
2017-01-26 23:20:20 +00:00
Adam Miskiewicz
b5c485d841
reactjs/react-navigation -> react-community/react-navigation 2017-01-26 13:16:26 -08:00
Adam Miskiewicz
c37ad8a0a9 Initial public release of React Navigation 2017-01-26 11:53:33 -08:00