import * as React from 'react'; export interface PaginationIndicatorProps { totalPageCount: number; currentPage: number; } export const PaginationIndicator: ( props: PaginationIndicatorProps & React.RefAttributes, ) => React.ReactNode = /* @__PURE__ */ React.forwardRef( function PaginationIndicator({ totalPageCount, currentPage }: PaginationIndicatorProps, ref) { const bubbles = new Array(totalPageCount).fill('').map((_, index) => { if (index + 1 === currentPage) { return ; } else { return ; } }); return (
{bubbles}
); }, );