Steven
ce73af4e00
fixed error in react-navigation preventing declaring navigationOptions as a function ( #23879 )
2018-02-26 13:35:23 -08:00
Roberto Huertas
c37774d139
fixes issue #23759 ( #23824 )
2018-02-26 12:32:41 -08:00
Tim Wang
4739cf80e4
Make getStateForAction lastState optional
2018-02-26 16:53:56 +08:00
Tim Wang
820f42b0ff
Fix addNavigationHelpers type
2018-02-26 15:49:42 +08:00
Tim Wang
07f5f260a9
Fix format and outdated comment
2018-02-26 14:34:40 +08:00
Tim Wang
9ef92bafb5
Replace React.ComponentType to React.ReactType
2018-02-26 14:29:37 +08:00
Tim Wang
f1e2710d76
Fix CI
2018-02-26 14:18:31 +08:00
Tim Wang
0c7e56e597
Merge branch 'master' into react-navigation-1.0
2018-02-26 14:10:31 +08:00
Tim Wang
32071c40b8
Refactor react-navigation types based on 1.2.0 flow type
2018-02-26 13:54:38 +08:00
Veit Lehmann
ed8e6ff42d
react-navigation: update for v1.1
2018-02-23 10:40:31 +01:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Forbes Lindesay
8f8f6c4392
[react] Use HTMLDialogElement for the dialog node ( #23053 )
...
* [react] Use HTMLDialogElement for the dialog node
* Actually add the `open` property
* This update requires typescript 2.6
* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Daniel Rosenwasser
eb71617568
Merge pull request #23399 from mellet/fix-tabbar-onpress
...
[react-navigation] Fix tabBarOnPress to destructure arguments
2018-02-10 10:35:38 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Mellet Solbakk
d041430dc5
Fix tabBarOnPress to destructure arguments
2018-02-04 00:11:39 +01:00
Thea Lanherne
9c90ba4143
Add missing drawerBackgroundColor prop to react-navigation DrawerNavigatorConfig ( #23255 )
2018-01-29 11:45:09 -08:00
Qibang
8abd412a02
feat: add tabBarOnPress ( #23068 )
2018-01-23 10:36:05 -08:00
Nicolas Beck
a72670d7f8
react-navigation | support functional components everywhere where ComponentClasses are s… ( #22970 )
...
* support functional components everywhere where ComponentClasses are supported
* use React.ComponentType
2018-01-18 12:46:02 -08:00
Thomas Sawkins
4dda217e46
add missing NavigationAction consts ( #22903 )
2018-01-17 09:59:31 -08:00
Alec Winograd
6fe41fe2e7
[react-navigation] refine type for createNavigationContainer ( #22922 )
2018-01-17 09:52:58 -08:00
Andy
219dd6df82
Fix 'prefer-readonly' lint failures ( #22819 )
2018-01-10 14:59:37 -08:00
Sergei Butko
016956f89c
Reverted TypeScript version back to 2.3
2017-12-11 20:05:26 +02:00
Sergei Butko
874349b382
Added missing allowFontScaling option into tabBarOptions
2017-12-09 11:02:58 +02:00
Armando Aguirre
d42f9cc029
Merge pull request #21800 from awinograd/aw-react-navigation-initial-layout
...
Add initialLayout to TabNavigator in react-navigation
2017-11-28 16:45:00 -08:00
Alec Winograd
d25f6d0f41
update tests
2017-11-28 11:53:41 +01:00
Alec Winograd
605da7672c
Add initialLayout property to TabNavigator in react-navigation
2017-11-28 11:50:22 +01:00
Nicolas Beck
1cfcf9cf86
fixed type of drawerLabel prop
...
according to the docs and my own test 'string' is also allowed as drawerLabel
2017-11-25 09:15:44 +01:00
Connor McEwen
401387a253
Add gestureResponseDistance to navigation options
2017-11-20 18:19:00 -05:00
Andy
e40d7b5227
react-navigation: Fix lint ( #21173 )
2017-11-01 10:28:36 -07:00
Andy
a11a781688
Fix some no-empty-interface lint errors ( #21144 )
2017-10-31 10:52:41 -07:00
Qibang
1547f30dd1
chore: exports Header component ( #20706 )
2017-10-23 14:52:23 -07:00
Andy
72bc73d061
react-*: Fix lint ( #20825 )
2017-10-23 07:31:51 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Jan Karres
8b75e6e5ed
Bugfix set not required DrawerViewConfig options to optional ( #20349 )
2017-10-06 10:24:05 -07:00
Andy
a572fbd60d
react-navigation: Use StyleProp on all "style" properties ( #19611 )
2017-09-07 09:12:45 -07:00
Andy
9f86de041a
react-navigation: Fix compile errors ( #19610 )
2017-09-07 08:38:56 -07:00
Andy
d74806eb3d
Add lint disables for no-unnecessary-generics ( #19508 )
2017-09-01 08:34:37 -07:00
Andy
1b54a38a43
Fix remaining lint errors ( #19219 )
2017-08-21 14:14:31 -07:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
Tim Wang
fa00e46e93
Use TextStyle for navigation text related style properties
2017-08-15 23:37:34 +08:00
Kyle Roach
2742c2dbc8
[react-navigation] Adds createNavigator, createNavigationContainer ( #18217 )
2017-08-14 12:10:49 -07:00
Charles Bunton
93b267aec8
Undeclared DrawItems and Unacceptable Value for contentComponents Attribute ( #18359 )
...
* The method isn't declared type and the contentComponent attribute in doesn't accept methods that return a react element
* changed drawItems declaration
2017-08-09 11:49:26 -07:00
HAMPLENI
a16df7e3ff
[react-navigation] Allowing tabBarLabel function to return string ( #18354 )
2017-08-01 16:21:04 -07:00
tsai phan
8f0b5485dc
Merge github.com:DefinitelyTyped/DefinitelyTyped
2017-07-06 12:35:40 +08:00
Kyle Roach
93acafe448
[react-navigation] Added StackRouter
2017-07-01 07:52:35 -04:00
Kyle Roach
aef3396e69
[react-navigation] Added TabRouter
2017-06-30 00:40:56 -04:00
tsai phan
9a456fefcf
[react-navigation] strictNullChecks, and tests.
2017-06-30 12:28:18 +08:00
tsai phan
ac8c3392a0
route params, headerBackTitle fixups or so.
2017-06-29 13:24:40 +08:00
Peter Jihoon Kim
aa5ba74640
[react-navigation] Fixed type definitions for NavigationActions.*
2017-06-27 12:59:10 -07:00
Nathan Shively-Sanders
2f8bbfbe28
Add dom lib reference to react-navigation
2017-06-26 09:50:14 -07:00