diff --git a/index.js b/index.js index cef456c..1ae193d 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,7 @@ // @flow import ReactNative from 'react-native'; +import Navigator from 'react-native-deprecated-custom-components'; import configureLayoutAnimation from './lib/configureLayoutAnimation'; import createResponsiveComponent from './lib/createResponsiveComponent'; @@ -25,7 +26,7 @@ module.exports = { ListView: wrap(ReactNative.ListView), MapView: wrap(ReactNative.MapView), Modal: wrap(ReactNative.Modal), - Navigator: wrap(ReactNative.Navigator), + Navigator: wrap(Navigator), NavigatorIOS: wrap(ReactNative.NavigatorIOS), Picker: wrap(ReactNative.Picker), PickerIOS: wrap(ReactNative.PickerIOS), diff --git a/package.json b/package.json index 7185ff2..ec30c86 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "test": "npm run lint && npm run flow" }, "dependencies": { + "react-native-deprecated-custom-components": "^0.1.1", "react-native-orientation-listener": "0.0.4" }, "devDependencies": {