import React from "react";
import { View, StyleSheet } from "react-native";
const Circle = ({ isActive }: { isActive: boolean }) => {
return ;
};
const PaginationIndicator = ({ totalPages, currentPage }: { totalPages: number; currentPage: number }) => {
return (
{Array.from({ length: totalPages }, (_, index) => (
))}
);
};
const styles = StyleSheet.create({
container: {
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
flex:1,
},
circle: {
width: 16,
height: 16,
borderRadius: 10,
backgroundColor: "#D9D9D9",
margin: 5,
},
activeCircle: {
width: 16,
height: 16,
borderRadius: 10,
backgroundColor: "#02677D",
margin: 5,
},
});
export default PaginationIndicator;