Skip to content

Commit

Permalink
⚠️ replace ViewPropTypes that will be remove from RN core
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustoAleGon committed Aug 13, 2022
1 parent 3bc6b85 commit 650d879
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/react-native-multi-select.js
Expand Up @@ -6,9 +6,9 @@ import {
TouchableWithoutFeedback,
TouchableOpacity,
FlatList,
UIManager,
ViewPropTypes
UIManager
} from 'react-native';
import {ViewPropTypes} from 'deprecated-react-native-prop-types';
import PropTypes from 'prop-types';
import reject from 'lodash/reject';
import find from 'lodash/find';
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -59,6 +59,7 @@
"lodash": ">4.17.00",
"react": ">16.6.0",
"react-native": ">0.57.0",
"react-native-vector-icons": ">6.0.0"
"react-native-vector-icons": ">6.0.0",
"deprecated-react-native-prop-types": ">2.0.0"
}
}

1 comment on commit 650d879

@bubenkoff
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it seems this wasn't enough, as there's still an error in using the Text.propTypes - needs a replacement as well

Please sign in to comment.