diff --git a/lib/AnySizeDragSortableView.js b/lib/AnySizeDragSortableView.js index 9450cbc..d8c8054 100644 --- a/lib/AnySizeDragSortableView.js +++ b/lib/AnySizeDragSortableView.js @@ -6,11 +6,12 @@ import { View, PanResponder, LayoutAnimation, - Platform + Platform, + UIManager } from 'react-native'; const PropTypes = require('prop-types') const ANIM_DURATION = 300 -const { UIManager } = NativeModules; +// const { UIManager } = NativeModules; if (Platform.OS === 'android') { if (UIManager.setLayoutAnimationEnabledExperimental) { @@ -511,4 +512,4 @@ const styles = StyleSheet.create({ flexDirection: 'row', flexWrap: 'wrap' } -}); \ No newline at end of file +});