export const ProgressBar = ({ currentPageIndex, totalPages }) => { const currentProgress = Math.round( ((currentPageIndex + 1) / totalPages) * 100, ) const currentPageText = `(${currentPageIndex}/${totalPages - 1})` return (