mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 17:34:59 +08:00
Move prop-types to dependencies (#1042)
* Move `prop-types` to dependencies * Update package.json * Update CardStackTransitioner.js
This commit is contained in:
committed by
Satyajit Sahoo
parent
e2f5e7fd49
commit
cf6564b3e5
@@ -56,7 +56,6 @@
|
||||
"eslint-plugin-react": "^6.10.0",
|
||||
"flow-bin": "^0.37.4",
|
||||
"jest": "^19.0.2",
|
||||
"prop-types": "^15.5.8",
|
||||
"react": "~15.4.2",
|
||||
"react-native": "^0.41.2",
|
||||
"react-native-vector-icons": "^3.0.0",
|
||||
@@ -71,6 +70,7 @@
|
||||
"fbjs": "^0.8.5",
|
||||
"hoist-non-react-statics": "^1.2.0",
|
||||
"path-to-regexp": "^1.7.0",
|
||||
"prop-types": "^15.5.8",
|
||||
"react-native-drawer-layout-polyfill": "1.2.0",
|
||||
"react-native-tab-view": "^0.0.57"
|
||||
},
|
||||
|
||||
@@ -107,6 +107,7 @@ class CardStackTransitioner extends Component<DefaultProps, Props, void> {
|
||||
headerMode,
|
||||
mode,
|
||||
router,
|
||||
style,
|
||||
cardStyle,
|
||||
} = this.props;
|
||||
return (
|
||||
@@ -115,7 +116,8 @@ class CardStackTransitioner extends Component<DefaultProps, Props, void> {
|
||||
headerMode={headerMode}
|
||||
mode={mode}
|
||||
router={router}
|
||||
style={cardStyle}
|
||||
cardStyle={cardStyle}
|
||||
style={style}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user