on expo running expo start triggers an error
tried the sample, after installing the package and typing "expo start", I am getting this error:
./node_modules/react-native-sortable-list/src/SortableList.js:20:11 "export 'ViewPropTypes' was not found in 'react-native-web/dist/index' 18 | data: PropTypes.oneOfType([PropTypes.array, PropTypes.object]).isRequired, 19 | order: PropTypes.arrayOf(PropTypes.any),
20 | style: ViewPropTypes.style, | ^ 21 | contentContainerStyle: ViewPropTypes.style, 22 | innerContainerStyle: ViewPropTypes.style, 23 | sortingEnabled: PropTypes.bool,
Hi there, a bugfix has been pushed to master for this, but the owner @gitim did not publish a new version on npm yet.
https://github.com/gitim/react-native-sortable-list/commit/78c8ec0e66ba792784131065fbeab3f365deb0dc
Point your package.json to the commit hash 78c8ec0e66ba792784131065fbeab3f365deb0dc to get the fix.
"react-native-sortable-list": "https://github.com/gitim/react-native-sortable-list#78c8ec0e66ba792784131065fbeab3f365deb0dc"
Hope this helps, I had the same issue and needed this library to work on RN v69
@gitim - any chance to get this on npm?
@gitim bump?