import React from 'react' import { StyleProp, StyleSheet, View, ViewStyle } from 'react-native' import progressDots from 'src/styles/progressDots' interface Props { count: number activeIndex: number style?: StyleProp dotStyle?: StyleProp activeDotStyle?: StyleProp } export default function Pagination({ count, activeIndex, style, dotStyle = progressDots.circlePassive, activeDotStyle = progressDots.circleActive, }: Props) { if (count < 2) { return null } return ( {Array.from({ length: count }).map((n, i) => { return })} ) } const styles = StyleSheet.create({ container: { flexDirection: 'row', justifyContent: 'center', alignItems: 'center', }, })