188 Commits

Author SHA1 Message Date
Peter Piekarczyk
44a65fc5a1 Add Syntax highlighting to Redux-Integration.md (#2355)
* Add Syntax highlighting to Redux-Integration.md

* Update Redux-Integration.md
2017-09-15 16:21:16 -05:00
Spencer Carli
6efca5d2dd Fix code block and add export default. 2017-09-15 16:01:26 -05:00
Spencer Carli
65313ab523 Merge branch 'master' into master 2017-09-15 15:51:53 -05:00
Jonathan Kim
73cf08744e Add documentation for useNativeAnimations option in DrawerNavigator (#2593) 2017-09-15 15:49:54 -05:00
Spencer Carli
2716fe4fea Blog: A (Renewed) Path to React Navigation V1 2017-09-14 20:24:03 -05:00
Kevin Cooper
fe4b1e2379 Accept a tabBarOnPress param (#1335)
* Accept a 'tabBarOnPress' param

* Make tabBarOnPress a navigationOption
2017-09-12 09:17:37 -05:00
Tom Aranda
eeda63fb3e Update top-level component nav documentation (#2543)
The code example listed in the current documentation results in a deprecation warning.  This update should work.
2017-09-09 11:13:32 -05:00
Kevin Cooper
19babadf38 Fix the NavigationPlayground example! (#2170)
* [Playground] Commit auto-changes to package.json, yarn.lock

* [Playground] Rerun create-react-native-app

Preserving rn-cli.js and transformer.js

Still not quite working.

* [Playground] Fix the Expo loading issue by removing projectRoots

Now it looks in the right place to find its resources, including 'entryPoint'.

* [Playground] Add postinstall script to clean up files Yarn copies in

Yarn copies them when installing locally, causing lots of @providesModule collisions.

* Update the Contributors guide to explain how to use the example app

And recommend Yarn by default

* [Playground] Remove now-obsolete rn-cli.config.js

* [Playground] Upgrade expo and other dependencies

* [Playground] Don't delete .git just in case
2017-09-06 10:36:20 -05:00
Andréas Hanss
024297b014 Add documentation to help handling Hardware Back Button in Android (#2486) 2017-08-30 16:34:46 -05:00
Brooks Lyrette
a71fd99cd4 Corrected broken links. (#2374)
Updated links for Card.js, CardStack.js and Header.js
2017-08-30 16:30:23 -05:00
Gant Laborde
8fdfc6d7a6 Feature/toggle (#2492)
* add toggle functionality

* add documentation
2017-08-29 21:55:33 -05:00
Satrio Adi Prabowo
e91e820823 Fixed conflict 2017-08-29 23:39:50 +07:00
probeadd
1b0c417633 Fixed 2017-08-29 23:36:30 +07:00
probeadd
d99f1fc07c Merge branch 'master' of https://github.com/probeadd/react-navigation 2017-08-29 17:36:10 +07:00
probeadd
7ee535cbd7 Fixed from review 2017-08-29 17:25:11 +07:00
Farzad Qasim
8cd77cfad4 Fix broken links (#2366) 2017-08-28 21:33:28 -05:00
Keegan Stothert
ae9d49f1ab Update TabNavigator.md (#2482)
tabNavigatorConfig doc improvements
2017-08-28 21:25:56 -05:00
Bruno
3336022279 Fix style variable in docs. (#2451) 2017-08-23 20:07:12 -05:00
probeadd
d95f01f552 #Provide intro for create-react-native-app and react-native init 2017-08-12 12:58:27 +07:00
Fidan Hakaj
b00208baa7 Updates Routers.md - adds missing parenthesis (#2230)
Adds missing parenthesis to *Handling Custom URIs* code example
2017-08-02 00:29:55 -05:00
Scott Brady
cc22138b19 Adding reset key documentation (#1297) 2017-07-10 20:46:29 -05:00
Franco Sarachu
8772e5f373 Update StackRouter.md (#2047)
Add missing ":"
2017-07-04 02:23:20 -04:00
Jan Peer Stöcklmair
661d01dc54 Docs: typo (#1783)
* Docs: typo
2017-06-27 17:27:54 -05:00
Nimrod Argov
a849eefc90 Add doc note for nesting wrapped navigator (#1947)
After having to look for a solution for nesting a navigator embedded in a component, found this issue that dealt with the same problem: https://github.com/react-community/react-navigation/issues/90.
Added the solution to the guide as a side note.
2017-06-23 17:18:13 -07:00
Nicholas Thompson
be1da2c4c9 Clarify headerBackTitle usage (#1649)
* Clarify headerBackTitle usage

* Updating text to that suggested by @pvinis

See https://github.com/react-community/react-navigation/pull/1649#discussion_r118195443
2017-06-22 20:47:16 -07:00
Ron Arts
7138f8ccd5 Clarify in docs that npm install in main dir is needed for NavigationPlayground (#1712)
Updated documentation on running the NavigationPlayground example
2017-06-22 09:08:52 -05:00
G. Kay Lee
f3ca1de867 Update Screen-Nav-Options.md (#1793)
Fix grammatical error in docs
2017-06-21 21:36:15 -05:00
JSON Deppen
bff7d0778b Update broken links (#1696) 2017-06-03 12:21:39 -07:00
Gabriel Bull
89db9ea204 Added tabStyle property (#1667) 2017-05-24 11:33:23 +05:30
Daniel Friesen
03698c9a69 Allow the routes outputted by DrawerView.Items to be overridden (#1039) 2017-05-19 09:23:19 +05:30
Daniel Schmidt
b19beda0a7 Add NavigationPlayground Expo Demo (#1523)
* use react-navigation as dependency
* add expo based playground app
* name expo playground demo in the docs
* add ci task to deploy playground demo
2017-05-15 16:55:10 -07:00
Tim Liu
a9de445015 Variable name consistency (#1452) 2017-05-12 14:37:55 -07:00
kdenz
79a67d9114 Minor update (#1491)
styles.tabIcon leads to nowhere, only has styles.icon
2017-05-12 14:37:15 -07:00
Kohki Makimoto
673b9d2877 Fix incorrect link (#1426) 2017-05-12 14:36:53 -07:00
Des Preston
f61ce3d46a clarify title option
If you attempt to use something other than a string, it will throw an error in some situations. #1318 provides more details about the error. If it is expecting a certain type, the docs should clarify that.
2017-05-07 11:35:57 +05:30
Rich Gilbank
4c953e0e8f Fixes NavigationActions docs links 2017-05-07 11:25:06 +05:30
Koen Punt
c04ea5b492 add headerBackTitleStyle screen option (#1083)
* add headerBackTitleStyle screen option

since the title is customizable, the back title should too.

* add documentation for `headerBackTitleStyle`

* make absence of headerBackTitle not affect return value

* merge styles so current scene can override

If there's no last scene, return the `headerBackTitleStyle` from the
current scene.
Otherwise return the `headerTitleStyle` from the last scene, and the
`headerBackTitleStyle` from the current scene, with the latter having
precedence.

* take headerBackTitleStyle from current scene

also the title style of the last scene is no longer taken into account
2017-04-28 07:55:15 +02:00
Gabriel Handford
d32f6e4ac6 Fix navigator links (#1259) 2017-04-27 13:37:05 +05:30
Mike Grabowski
f2dd70a29e Add a blog post about new release (#1262)
* Create 2017-02-On-the-path-to-v1.md

* Add doc to website

* Rename 2017-02-On-the-path-to-v1.md to 2017-04-On-the-path-to-v1.md

* Update 2017-04-On-the-path-to-v1.md
2017-04-26 23:46:58 +02:00
Dave Bennett
aa7fe56bb4 Modal gestureEnabled (#1243)
* Fix Modal Gestures

* Update StackNavigator.md for gesturesEnabled to include modals again

* Remove modal gesture todo

* Gesture response distance top, side => vertical, horizontal
2017-04-26 18:25:25 +05:30
Mike Grabowski
2b24492370 Make header configurable (#1220)
* Initial commit

* Remove null mention

Technically, it's possible, though it's not recommended approach. People should use `headerVisible`.

* Update SimpleStack.js

* Updates

* Remove headerVisible

* Fix docs

* Fix flow

* Bring back validation

* Fix import
2017-04-26 13:34:21 +02:00
Satyajit Sahoo
0cd3eaa97a BREAKING: Update React Native TabView (#1218) 2017-04-25 21:47:29 +02:00
Kevin Cooper
655b46b60b Improve the Redux docs (#1172)
* [ReduxExample] Programmatically generate initial state

* [ReduxExample] Return original state if nextState is null

* [Docs] Add getStateForAction to redux integration example

* [Docs] Add link to ReduxExample app

* [Docs] Give each example a 'DRY' README linking to real docs

* [Docs] Clean up the Contributors guide a bit

* [Docs] Remove numbers from sections in Contributors guide

They don't seem very meaningful, and don't need to be done in order
2017-04-25 11:48:54 +02:00
Mike Grabowski
c39dd9d45f Export all the things (#1219)
* Initial

* Add missing title

* Fix style and ref issues
2017-04-25 14:23:09 +05:30
Melih
4a4a563e99 Update Screen-Nav-Options.md (#1211)
* Update Screen-Nav-Options.md

* Apply some tweaks
2017-04-24 11:22:37 -07:00
maxkomarychev
75921cfddd Respect gesturesEnabled (#1147)
* Use flag value from screen details

* Only respect `gesturesEnabled` when `mode === card`

* Update docs
2017-04-24 10:51:08 -07:00
Mike Grabowski
47285bf5d6 Update docs on headerLeft/Right (#1203) 2017-04-24 10:47:42 -07:00
Mike Grabowski
be09d50f22 Update router guide (#1207) 2017-04-24 09:27:06 -07:00
Neo
6b8cb793b4 Add support for custom transitionConfig (#1187)
* Fix transitionConfig regression

* Fix flow

* Add doc

* Update StackNavigator.md

* Update StackNavigator.md

* Update CardStackTransitioner.js

* Update TypeDefinition.js
2017-04-24 14:31:44 +02:00
Mike Grabowski
5905501183 Update Redux-Integration.md (#1184) 2017-04-24 11:52:47 +02:00