Commit Graph

49 Commits

Author SHA1 Message Date
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
abrahambotros
56020af821 [react-navigation] Fix and extend tests 2017-06-24 09:22:23 -07:00
abrahambotros
ce410568cb Merge branch 'master' into react-navigation/update-from-flow 2017-06-24 08:54:29 -07:00
Nathan Shively-Sanders
cd841d7958 Merge pull request #17320 from AleksandarDev/react-navigation-container-style
[@types/react-navigation] Added style prop to NavigationContainerProps
2017-06-22 16:09:25 -07:00
Aleksandar Toplek
21b6583720 Added test 2017-06-21 09:24:38 +02:00
Tanguy Krotoff
b81d97133a Merge branch 'master' into react-default-type-arguments 2017-06-20 22:39:06 +02:00
Aleksandar Toplek
0f0504a28c Update index.d.ts 2017-06-20 12:49:35 +02:00
Tanguy Krotoff
eeb262e1d8 Update react to TypeScript 2.3 2017-06-19 13:34:54 +02:00
abrahambotros
258b650f0e Merge branch 'master' into react-navigation/update-from-flow
[react-navigation]
* Move Transitioner types, move tests into class, minor fixes
2017-06-18 15:48:47 -07:00
abrahambotros
c5ab866dbc [react-navigation] Minor fixes 2017-06-18 15:21:51 -07:00
Andrew Linfoot
2d9acea80a Allow null values to be passed to navigation.goBack() 2017-06-15 18:30:20 -07:00
Mine Starks
175758eef1 Merge pull request #17096 from fangpenlin/react-navigation/transitioner
Export Transitioner for react-navigation
2017-06-15 16:50:15 -07:00
abrahambotros
dbdfb4a24f [react-navigation] Move NavigationActions namespace, add todo for possibly removal 2017-06-15 09:41:00 -07:00
abrahambotros
f06d27ff0a Merge branch 'master' into react-navigation/update-from-flow 2017-06-15 09:35:03 -07:00
abrahambotros
9f822c4b07 [react-navigation] Update reference commit link to tree link 2017-06-15 09:00:56 -07:00
abrahambotros
28fc9fb21b [react-navigation] NavigationParams fixes 2017-06-15 08:56:11 -07:00
abrahambotros
cf39e7e9bd [react-navigation] Add test to navigate to next screen 2017-06-15 08:48:33 -07:00
abrahambotros
4ba39d4016 [react-navigation] Fix linter errors 2017-06-15 08:40:23 -07:00
abrahambotros
e34616fd3c [react-navigation] Improve test, add screen component props type checks 2017-06-14 23:00:52 -07:00
abrahambotros
e5843ac8f5 [react-navigation] Misc fixes and improvements 2017-06-14 22:53:46 -07:00
abrahambotros
9be2563bfc [react-navigation] Typed generic for NavigationRoute
* Also add NavigationParamsGeneric and screenProps additional placeholder
  types
* Add custom/convenience wrapper section, including NavigationScreenProps
2017-06-14 21:44:43 -07:00
abrahambotros
4312a93b45 [react-navigation] Fix flow Object -> TS any 2017-06-14 21:17:12 -07:00
abrahambotros
19d0ec2398 [react-navigation] Additional fixes and cleanup for defs outside TypeDefinition.js 2017-06-14 21:05:46 -07:00
Andrew Linfoot
b9ff8d230e Add support for NavigationActions.init() action creator
See https://github.com/react-community/react-navigation/blob/master/src/NavigationActions.js#L70
2017-06-14 20:48:16 -07:00
abrahambotros
e9da83fdeb [react-navigation] Update with latest flow typings 2017-06-14 20:23:53 -07:00
Andrew Linfoot
854aebe0fe Add support for key on reset action 2017-06-14 20:09:14 -07:00
Fang-Pen Lin
b15fc38fcb
Update author list 2017-06-09 13:52:12 -07:00
Fang-Pen Lin
0ed23c222c
Update test for Transitioner 2017-06-09 13:50:42 -07:00
Fang-Pen Lin
b6905e84ea
Add Transitioner for react-navigation 2017-06-09 13:42:46 -07:00
Eloy Durán
336f4a8e8a Merge pull request #16840 from Cryptacular/master
[react-navigation] Add screenProps to NavigationContainerProps interface
2017-06-01 12:00:46 +02:00
Downpooooour
a8dca3c8f5 add types for react-native-swiper, fix types for react-navigation (#16552)
* add missing types which lists in the docs but not in the propTypes of src

* fix types in react-navigation

* fix `Definitions by`

* Update index.d.ts

* Update index.d.ts

* stash

* fix `Definitions by`

* add test for react-native-swiper
2017-05-31 22:15:00 -07:00
huhuanming
a7af0d6fc8 Fix Spelling Mistakes (#16770) 2017-05-31 20:10:29 -07:00
Nick Mertens
357b6211e5 Add screenProps to NavigationContainerProps interface 2017-05-30 20:36:23 +12:00
Jeremi Stadler
f113c7a5e7 [React-Navigation] Add tabConfig tests
Specifically to test the tabBarComponent property
2017-05-29 14:34:58 +02:00
Jeremi Stadler
72b1711397 [React-Navigation] Add TabBarTop & TabBarBottom types 2017-05-29 12:39:16 +02:00
huhuanming
9f5ae6ecfb Add NavgationComponentProps 2017-05-23 14:55:52 +08:00
huhuanming
ce0c8389af Add Action Types 2017-05-22 00:44:27 +08:00
Arthur Ozga
d79040fc5b Merge pull request #16432 from agentilela/master
react-navigation: NavigationContainerProps/navigation param should be optional
2017-05-15 14:41:59 -07:00
Arthur Ozga
644e75f8f1 Merge pull request #16463 from mhcgrq/master
react-navigation: NavigationActions/back param should be optional
2017-05-15 14:40:41 -07:00
Habibi
1cfe9350bb Fix missing import in the test 2017-05-13 19:58:36 +07:00
Habibi
a58b6330a5 react-navigation Add different typing for tabBarIcon 2017-05-13 19:24:05 +07:00
Habibi
e3fdd2698a Fix react-navigation typo “tabBarLabel” 2017-05-13 19:10:05 +07:00
gengrq
2692cdda95 add author 2017-05-11 21:44:34 +08:00
gengrq
e9dd13ca68 react-navigation: NavigationActions/back param should be optional 2017-05-11 21:33:40 +08:00
Alex Gentile
f5733a8759 Removed null from headerBackTitle prop
Null is unnecessary as headerBackTitle is already optional.
2017-05-09 22:51:00 -07:00
Alex Gentile
db7d524bd2 Update index.d.ts
reverted formatting
2017-05-09 22:23:46 -07:00
agentile
66d3ea01bf fix: navigation prop should be optional
When using StackNavigator, there are times when you would like to trigger custom side effects on
navigation by setting the "onNavigationStateChange" prop, but don't want to override default
navigation. This PR allows for that.
2017-05-09 20:24:17 -07:00
huhuanming
7547cd219a Add React navigation (#16223)
* Add react-navigation Types

* Add actions

Functions : https://reactnavigation.org/docs/navigators/navigation-actions
Note: the `type` option has to be optional because if not, we have to add it when we use one of actions.

* Support of Screen Navigation Options

For Stack, Tab and Drawer

* Add Generic for NavigationNavigatorProps params

* NavigationParams: any type of param

* Add Tab and Drawer Navigators

* Use of ViewStyle and TextStyle

* Improve tsconfig.json && tslint.json

* Add Test

* fix test

* fix lint
2017-05-01 12:35:36 -07:00