import React from 'react'; import { mdiChevronDoubleLeft, mdiChevronDoubleRight, mdiChevronLeft, mdiChevronRight, } from '@mdi/js'; import BaseIcon from './BaseIcon'; type Props = { currentPage: number; numPages: number; setCurrentPage: any; }; export const Pagination = ({ currentPage, numPages, setCurrentPage, }: Props) => { return (
Page {currentPage + 1} of {numPages}
{currentPage !== numPages - 1 && (