nick / react-native-carousel

Carousel component for react-native
MIT License
458 stars 107 forks source link

How to dismiss the carousel after finishing the carousel? #14

Open chirag04 opened 9 years ago

chirag04 commented 9 years ago

I want to use carousel for showing the welcome screens/tour. I want to dismiss the carousel when you swipe on the last element in carousel. Ideally i want to render a navigator element from there to bootstrap my app.

Is there an api to support this case? Happy to PR if you can provide ideas.

cwRichardKim commented 7 years ago

shouldn't you be able to use onPageChange and just check the page number?