179 Commits

Author SHA1 Message Date
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
Mike Grabowski
0f6b328687 Add an ability to disable built-in logger (#1115)
* Fix logger

* Update Navigators.md

* Update Navigators.md
2017-04-24 11:08:36 +02:00
Daniel Schmidt
c8062d014c docs: add remark about nesting (#1121)
This relates to #709
2017-04-23 20:21:15 +02:00
Ville Immonen
c384e3371c Add a config to override the truncated back title (#1137)
Fixes #1136.
2017-04-22 08:26:31 +02:00
Thomas Subera
046acd2b5e Allow tabBarLabel to be also a function again (#1156)
This fixes #1024
2017-04-22 08:11:45 +02:00
Mike Grabowski
a252b46c50 Breaking: Replace containerOptions with just props (#1100) 2017-04-19 14:10:50 +05:30
Edwin Tsatsu
c5f8c8b34d removed reptiton of headerBackTitle text (#1076) 2017-04-17 07:15:06 -07:00
Mike Grabowski
4c55887990 Fix regressions in Header (#1027)
* Fix warnings and errors with Header

* bring back deleted docs

* headerLeft can be null
2017-04-13 22:56:42 +02:00
Joe McKie
44e78f8644 Fix typo in StackRouter.md (#975) 2017-04-12 17:01:40 -07:00
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