react-native-swiper
react-native-swiper copied to clipboard
throw an error when I introduce Swiper
Description
throw an error "TypeError: Cannot assign to read only property 'exports' of object '#<Object>'", when I introduce Swiper in application by expo created
Version
- react-native-swiper ^1.6.0
- react-native 0.64.3
- expo ~44.0.0
Resolve
it was resolved when i used 'export default Swiper' instand of 'module.exports.default = Swiper;'