Commit Graph

11 Commits

Author SHA1 Message Date
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