How to implement a Carousel in React-Native using react-native-snap-carousel part 2
In my previous article I explained how to implement a carousel into your react-native application using the package react-native-snap-carousel. In this tutorial I expand upon that and show you how to implement a pagination component to your carousel to give your user a visual explanation as to what item they are currently viewing within the carousel.
Below is a url to the first tutorial —
I will be under the assumption that you have followed along from the first tutorial and will be carrying on from this and not explaining how to create a react-native application etc.
To implement pagination within the carousel it is similar to how the carousel is implemented, the package has a component called Pagination that takes in certain props. A better explanation of all the props can be found here —