20 Commits

Author SHA1 Message Date
Dave Pack
3e37ee6d0c Fixes default drawerWidth to match Material UI patterns. (#2773)
* Fixes default drawerWidth to match material ui patterns.

Previously: calculated based on device width regardless of orientation and did not recalculate when orientation changed.
Now: calculates based on minimum of device height/width, remains constant and guaranteed to always fit screen regardless of orientation.

This is the expected behavior based on observing Google apps (e.g. Gmail). This is also better than recalculating on every orientation change, which would result in variable width drawers and awkward empty space when in landscape in most cases.

* Remove console.log
2017-10-17 18:24:56 -05:00
robertkongsvmx
82c2cdbe09 Issue-2662: Add support for testID and accessibilityLabel for tab bar items (#2684) 2017-10-15 19:45:22 -05:00
Aleksey Kuznetsov
af53b0e5b8 Add custom transitioner example to NavigationPlayground (#2412) 2017-09-06 19:41:41 -05:00
Jan Peer Stöcklmair
aa92bcb0dd Fix ActiveScreen in custom navigation (#2354) 2017-08-28 21:35:48 -05:00
Adam Miskiewicz
f3a958dca1 Update/Fix Prettier + Eslint config for codebase
Run Prettier/Eslint on entire codebase, fix issues
2017-05-14 14:18:09 -07:00
Kevin Cooper
f575d90986 [Minor] Update Stacks examples for better clarity (#1341)
* Update Stacks{In,Over}Tabs example for better clarity

* Remove redundant navigationOptions in stack examples

* Update text in ReduxExample to clarify which route is being used
2017-05-12 15:27:53 -07:00
Ihor
5aaf4a86be Delete unused import component 2017-05-07 11:26:34 +05:30
Koen Punt
b532f8cc19 fix toggle header example (#1286) 2017-04-28 12:58:13 +02:00
Mike Grabowski
2dc869fedd Navigate to nested router within stack (#1025) 2017-04-13 09:28:47 -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
Kevin Cooper
2b307c754a [Playground] Add TabsInDrawer example (#930) 2017-04-06 09:25:38 -07:00
Kevin Cooper
b49b2c1b62 [Playgrond] Add StacksOverTabs example (#928)
* [Playground] Duplicate StacksInTabs to StacksOverTabs

* [Playground] Move nested routes into root stack so they appear on top

* [Playground] Go to SettingsTab instead of pushing a new Settings screen
2017-04-06 09:24:35 -07:00
Alejandro Garcia
0f19a0bddf Fix flow in Navigation Playground (#735) 2017-03-22 12:08:08 -07:00
João Luís Lima
67d64807da adds button to photo screen (#301) 2017-02-12 22:05:12 -08:00
Satyajit Sahoo
f72f5d3a9c Fix tintColor in example 2017-02-09 01:37:54 +05:30
Satyajit Sahoo
42ead04d9a Remove with navigation example 2017-02-09 01:36:27 +05:30
Jakub Stasiak
aead8ff9fb Add withNavigation HOC (#137) 2017-02-06 18:58:04 +05:30
Mike Grabowski
7a20389e04 Refactor header, tintColor support, redesign iOS back button (#109) 2017-02-02 02:50:12 +05:30
Nicolas Beck
5d5d83c582 fixed initialRouteName documentation (#121)
https://github.com/react-community/react-navigation/issues/119
2017-01-31 18:26:42 -08:00
Adam Miskiewicz
c37ad8a0a9 Initial public release of React Navigation 2017-01-26 11:53:33 -08:00