Move prop-types to dependencies (#1042)

* Move `prop-types` to dependencies

* Update package.json

* Update CardStackTransitioner.js
This commit is contained in:
Mike Grabowski
2017-04-14 08:11:39 +02:00
committed by Satyajit Sahoo
parent e2f5e7fd49
commit cf6564b3e5
2 changed files with 4 additions and 2 deletions

View File

@@ -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"
},

View File

@@ -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}
/>
);