Skip to content

Commit 650d879

Browse files
committed
⚠️ replace ViewPropTypes that will be remove from RN core
1 parent 3bc6b85 commit 650d879

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/react-native-multi-select.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import {
66
TouchableWithoutFeedback,
77
TouchableOpacity,
88
FlatList,
9-
UIManager,
10-
ViewPropTypes
9+
UIManager
1110
} from 'react-native';
11+
import {ViewPropTypes} from 'deprecated-react-native-prop-types';
1212
import PropTypes from 'prop-types';
1313
import reject from 'lodash/reject';
1414
import find from 'lodash/find';

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"lodash": ">4.17.00",
6060
"react": ">16.6.0",
6161
"react-native": ">0.57.0",
62-
"react-native-vector-icons": ">6.0.0"
62+
"react-native-vector-icons": ">6.0.0",
63+
"deprecated-react-native-prop-types": ">2.0.0"
6364
}
6465
}

0 commit comments

Comments
 (0)