leecade / leecade/react-native-swiper
How to disable prev swipe and prev button only next i want with swipe and next button
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
<Swiper showsButtons={true} loop={false} index={0} onIndexChanged={(index) => this.statusChange(index)} showsPagination={false} prevButton={false} >
<Appointment_status navigation={this.props.navigation} />
<Appointment_statuspending navigation={this.props.navigation} />
<Arrived navigation={this.props.navigation} />
<Completed navigation={this.props.navigation} />
<Appointment_complete navigation={this.props.navigation} />
</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 reviewing the Swiper component's showsButtons, prevButton, loop, index, and gesture-related behavior. Confirm how navigation controls and swiping are configured in the shown JSX. Done means backward navigation is disabled while forward navigation remains available through both swipe and the next button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100