leecade / leecade/react-native-swiper
Attempted import error: 'Swiper' is not exported from 'react-native-swiper'.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Which OS ?
Web expo
Version
Which versions are you using:
- react-native-swiper v1.6
- react-native v0.62
Expected behaviour
No import problem
Actual behaviour
Attempted import error: 'Swiper' is not exported from 'react-native-swiper'.
How to reproduce it>
create new expo project add swiper somewhere
How to fix it>
replace :
module.exports = Swiper;
module.exports.default = Swiper;
by
export default Swiper
export {Swiper}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the import error in a new Expo project using react-native-swiper v1.6, then inspect the package entry point and its export statements. Confirm that the Swiper component imports successfully on Expo Web and run the project's available checks to verify the compatibility fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100