diff --git a/Example/app/widget/AnySizeDragSortableView.js b/Example/app/widget/AnySizeDragSortableView.js index 9450cbc..94b9951 100644 --- a/Example/app/widget/AnySizeDragSortableView.js +++ b/Example/app/widget/AnySizeDragSortableView.js @@ -1,16 +1,15 @@ import React from 'react'; import { - NativeModules, StyleSheet, ScrollView, View, PanResponder, LayoutAnimation, - Platform + Platform, + UIManager } from 'react-native'; const PropTypes = require('prop-types') const ANIM_DURATION = 300 -const { UIManager } = NativeModules; if (Platform.OS === 'android') { if (UIManager.setLayoutAnimationEnabledExperimental) { @@ -511,4 +510,4 @@ const styles = StyleSheet.create({ flexDirection: 'row', flexWrap: 'wrap' } -}); \ No newline at end of file +}); diff --git a/lib/AnySizeDragSortableView.js b/lib/AnySizeDragSortableView.js index 9450cbc..94b9951 100644 --- a/lib/AnySizeDragSortableView.js +++ b/lib/AnySizeDragSortableView.js @@ -1,16 +1,15 @@ import React from 'react'; import { - NativeModules, StyleSheet, ScrollView, View, PanResponder, LayoutAnimation, - Platform + Platform, + UIManager } from 'react-native'; const PropTypes = require('prop-types') const ANIM_DURATION = 300 -const { UIManager } = NativeModules; if (Platform.OS === 'android') { if (UIManager.setLayoutAnimationEnabledExperimental) { @@ -511,4 +510,4 @@ const styles = StyleSheet.create({ flexDirection: 'row', flexWrap: 'wrap' } -}); \ No newline at end of file +});