Skip to content

Commit 44b912d

Browse files
Quick fix for react native 0.60
1 parent 9efe886 commit 44b912d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

components/ModalDropdown.js

Lines changed: 1 addition & 1 deletion
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,7 @@ import {
2221
ActivityIndicator,
2322
} from 'react-native';
2423

24+
import ListView from "deprecated-react-native-listview";
2525
import PropTypes from 'prop-types';
2626

2727
const TOUCHABLE_ELEMENTS = [

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"url": "https://github.com/sohobloo/react-native-modal-dropdown.git"
3030
},
3131
"dependencies": {
32-
"prop-types": "^15.6.0"
32+
"prop-types": "^15.6.0",
33+
"deprecated-react-native-listview": "0.0.5"
3334
},
3435
"scripts": {
3536
"test": "echo \"Error: no test specified\" && exit 1"

0 commit comments

Comments
 (0)