nick / react-native-carousel

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

Current slide selector #68

Open krishbhattacharyya opened 7 years ago

krishbhattacharyya commented 7 years ago

This is not an issue, a suggestion please add a current slide selector. Where we can set the current slide on initialization or later.

xiaoyunyang commented 7 years ago

I think you can already do that. There's a props for Carousel called initialPage, so if you want to set current slide to 1 upon initialization, just do: ``

`` The problem is the documentation did not mention this ``initialPage`` props.