react-native-multiple-select-list icon indicating copy to clipboard operation
react-native-multiple-select-list copied to clipboard

'proptypes.oneOf' of undefined.

Open sachinshapur05 opened this issue 5 years ago • 3 comments

I am getting the error PropTypes.oneOf is undefined as it is using the older version of react-native-vector-icons(3.0.0) if it takes the latest version of react-native-vector-icons(6.6.0) then it will OK but how to change the version of react-native-vector-icons to latest.

I mean how to update the react-native-vector-icons to latest that is used inside the react-native-multiple-select-list

sachinshapur05 avatar Dec 05 '19 11:12 sachinshapur05

@atasmohammadi

yuritoledo avatar Jan 19 '20 12:01 yuritoledo

@sachinshapur05 change package.json file of react-native-multiple-select-list with version of react-native-vector-icons 6.6.0 then navigate to the react-native-multiple-select-list directory and run npm install. This will install the new version of react-native-vector-icons.

saadsaleem187 avatar Jun 23 '20 11:06 saadsaleem187

@sachinshapur05 there is one other solution which is a lot simpler than above solution. Navigate to node_modules folder and find react-native-multiple-select-list package and open multipleSelect.js file and copy all code and make it your own component.

saadsaleem187 avatar Jun 25 '20 05:06 saadsaleem187