Skip to content

Commit cf747b4

Browse files
JamesJames Ide
authored andcommitted
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
1 parent d7f2b35 commit cf747b4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

ActionSheet.android.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
'use strict';
22

33
import React, {
4+
PropTypes,
5+
} from 'react';
6+
7+
import {
48
Animated,
59
BackAndroid,
610
Easing,
711
PixelRatio,
8-
PropTypes,
912
StyleSheet,
1013
Text,
1114
TouchableOpacity,

ActionSheet.ios.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict';
22

3-
import React, {
3+
import React from 'react';
4+
import {
45
ActionSheetIOS,
56
View,
67
} from 'react-native';

0 commit comments

Comments
 (0)