From cf747b45fbbb4c93537095a30b89814da289c4c1 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 23 May 2016 13:42:33 -0400 Subject: [PATCH 1/2] Remove ReactNative.Children is deprecated warning (#7) * switch React reference from React Native to React for iOS * switch React reference from React Native to React for android --- ActionSheet.android.js | 5 ++++- ActionSheet.ios.js | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ActionSheet.android.js b/ActionSheet.android.js index 700a66c..6745cf1 100644 --- a/ActionSheet.android.js +++ b/ActionSheet.android.js @@ -1,11 +1,14 @@ 'use strict'; import React, { + PropTypes, +} from 'react'; + +import { Animated, BackAndroid, Easing, PixelRatio, - PropTypes, StyleSheet, Text, TouchableOpacity, diff --git a/ActionSheet.ios.js b/ActionSheet.ios.js index 3f8194e..4a74c22 100644 --- a/ActionSheet.ios.js +++ b/ActionSheet.ios.js @@ -1,6 +1,7 @@ 'use strict'; -import React, { +import React from 'react'; +import { ActionSheetIOS, View, } from 'react-native'; From a063e48e53afcd521e468db4f574425e98433cfb Mon Sep 17 00:00:00 2001 From: James Ide Date: Mon, 23 May 2016 10:43:00 -0700 Subject: [PATCH 2/2] 0.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 748b84e..f820b3c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@exponent/react-native-action-sheet", - "version": "0.1.2", + "version": "0.1.3", "description": "A cross-platform ActionSheet for React Native", "main": "index.js", "scripts": {},