Masked Pagination
A reusable and animated pagination component for React Native, perfect for carousels, onboarding flows, or step indicators.
This component leverages `moti` for smooth animations and `MaskedView` to elegantly reveal the active indicator beneath the dots.
Built with TypeScript, it offers a flexible and well-typed API:
* `dots`: Total number of dots
* `activeIndex`: Index of the currently active dot
* `colors`: Customize the indicator and dot container colors
* `dotSize`: Size of each dot and the indicator
* `spacing`: Space between dots
* `duration`: Duration of the animation transition