Skip to content

Commit f9d55ea

Browse files
committed
remove deprecation warning
1 parent e3ae5ee commit f9d55ea

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import {
55
TouchableHighlight,
66
View,
77
StyleSheet,
8-
ListView
8+
ListView,
9+
YellowBox
910
} from "react-native";
1011
import PropTypes from "prop-types";
1112

@@ -19,6 +20,7 @@ export default class ModalPicker extends Component {
1920
dataSource: ds.cloneWithRows(this.props.data),
2021
modalVisible: false
2122
};
23+
YellowBox.ignoreWarnings(['ListView is deprecated']);
2224
}
2325

2426
componentWillReceiveProps( nextProps ) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-simple-modal-picker",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Simple Picker/DropDown/Chooser/Selector for React Native",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)