From f7d31904938295ff6b41cb2712d32f74aac1bbcb Mon Sep 17 00:00:00 2001 From: James Pearson Date: Sun, 17 Apr 2016 09:11:45 +0100 Subject: [PATCH 1/2] Set the example to use the supported version of React Native --- Example/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Example/package.json b/Example/package.json index c2bc79ce1..72672d1a2 100644 --- a/Example/package.json +++ b/Example/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "react": "^0.14.7", - "react-native": "^0.23.1", + "react-native": "^0.22.2", "react-native-button": "^1.2.1", "react-native-drawer": "^1.16.7", "react-native-modalbox": "^1.3.0", From 9348d8a7a3d12b639e0da76180ed99561912f8a8 Mon Sep 17 00:00:00 2001 From: James Pearson Date: Sun, 17 Apr 2016 09:15:18 +0100 Subject: [PATCH 2/2] Added .babelrc to the Example project to make it a turn key example --- Example/.babelrc | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Example/.babelrc diff --git a/Example/.babelrc b/Example/.babelrc new file mode 100644 index 000000000..6e9bad519 --- /dev/null +++ b/Example/.babelrc @@ -0,0 +1,3 @@ +{ + presets: ["react-native"] +}