From 2772620b4d481a002b2eb0ad3066d6c4938613a6 Mon Sep 17 00:00:00 2001 From: Max Batty Date: Tue, 26 Sep 2017 20:59:44 -0400 Subject: [PATCH 1/2] Remove Navigator from index --- index.js | 1 - package.json | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cef456c..67153a5 100644 --- a/index.js +++ b/index.js @@ -25,7 +25,6 @@ module.exports = { ListView: wrap(ReactNative.ListView), MapView: wrap(ReactNative.MapView), Modal: wrap(ReactNative.Modal), - Navigator: wrap(ReactNative.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": { From 916e4d2baeff8a113557873a298c599cc0bf9243 Mon Sep 17 00:00:00 2001 From: Max Batty Date: Tue, 26 Sep 2017 21:21:58 -0400 Subject: [PATCH 2/2] Use deprecate custom components for react native navigator --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 67153a5..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,6 +26,7 @@ module.exports = { ListView: wrap(ReactNative.ListView), MapView: wrap(ReactNative.MapView), Modal: wrap(ReactNative.Modal), + Navigator: wrap(Navigator), NavigatorIOS: wrap(ReactNative.NavigatorIOS), Picker: wrap(ReactNative.Picker), PickerIOS: wrap(ReactNative.PickerIOS),