Finian
f84fe15272
Add allowFontScaling
option for TabView and headerTitleAllowFontScaling
for HeaderTitle ( #2377 ) ( #2721 )
2017-10-15 09:57:09 +01:00
Chid Gilovitz
5576b84d8a
Update Routers.md ( #2750 )
...
Added import line to code example.
2017-10-14 12:31:46 +01:00
Lucas Padilha
09e396002f
added drawerBackgroundColor for documentation ( #2723 )
...
* added property inside drawerConfig to backgroundColor (drawerBackgroundColor)
* Adjusting documentation for PR deployment (# 2698)
* add example in the doc
2017-10-11 14:04:22 +01:00
Neo
81d8d91085
add doc for transitionConfig ( #1827 )
...
* add doc for transitionConfig
* address review
2017-10-03 16:54:19 -05:00
Dan Gurney
5e001155fb
Fix "drawerLockMode" terminology for screenProps ( #2667 )
...
Should be "drawerLockMode" instead of "lockMode"
2017-10-03 17:21:49 +01:00
Masayuki Iwai
69397af74d
Make GESTURE_RESPONSE_DISTANCE_* configurable. ( #2172 )
...
* Make gestureResponseDistance configurable.
* Fix format.
* Set vertical and horizontal distance individually.
* Fix type error.
* Move gestureResponseDistance to NavigationStackScreenOptions.
* Add documentation.
2017-09-25 20:16:13 +01:00
Jeff Mendez
17c910fb5d
drawerLockMode ( #1377 )
...
* added drawerLockMode with cabilities to update it on the fly
* fixed incorrect name on markdown for usage
* added handling if screenProps is not being used
* Fix linting error
* Use drawerLockMode instead of lockMode
* Correct docs
* Fix flow issues
* Make drawerLockMode optional
2017-09-21 12:53:46 -05:00
Tomas Reimers
3ad142b818
Update documentation on Title. ( #2092 )
2017-09-15 16:36:44 -05:00
Jonathan Kim
73cf08744e
Add documentation for useNativeAnimations
option in DrawerNavigator ( #2593 )
2017-09-15 15:49:54 -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
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
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
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
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
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
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
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
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
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
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
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
Navid Taha
96a34db809
Add iconStyle prop to tabBarOptions for TabBarTop ( #965 )
2017-04-08 23:32:52 +05:30
Jamie Parkinson
31c538413e
Add pressColor to StackNavigator header options ( #926 )
...
* Add pressColor to StackNavigator header options
* Rename pressColor -> pressColorAndroid for StackNavigator
2017-04-07 09:02:43 -07:00
Grzegorz Mandziak
3cee5c30fa
Possibility to overwrite label's style if defined as string. ( #731 )
...
* Added option to overwrite label style for only if label is as string defined in navigationOptions in DrawerNavigation.
* update doc for labelStyle prop
* change title to label
2017-03-30 09:20:56 +05:30
Bernhard
84d284d591
add example for DrawerNavigatorConfig ( #552 )
...
* add example for DrawerNavigatorConfig
* add explanation for the example
2017-03-30 09:16:29 +05:30
Javier Olaechea
65e71042d5
Docs: Update md links from coodoo's fork to react-community ( #750 )
2017-03-22 13:51:16 -07:00