Skip to content

Commit 4d7bd5e

Browse files
author
Amirul Abu
committed
Quick fix for react native 0.60
1 parent 9efe886 commit 4d7bd5e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

components/ModalDropdown.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
Dimensions,
1414
View,
1515
Text,
16-
ListView,
1716
TouchableWithoutFeedback,
1817
TouchableNativeFeedback,
1918
TouchableOpacity,
@@ -22,6 +21,8 @@ import {
2221
ActivityIndicator,
2322
} from 'react-native';
2423

24+
import { ListView } from 'deprecated-react-native-listview';
25+
2526
import PropTypes from 'prop-types';
2627

2728
const TOUCHABLE_ELEMENTS = [

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"url": "https://github.com/sohobloo/react-native-modal-dropdown.git"
3030
},
3131
"dependencies": {
32+
"deprecated-react-native-listview": "0.0.5",
3233
"prop-types": "^15.6.0"
3334
},
3435
"scripts": {

0 commit comments

Comments
 (0)