import { SpaceProps } from "@/utils/type"; import { MAX_ITEMS_PER_PAGE } from "./spaces"; export const Pagination = ({ spaces, page, handleNextPage, handlePrevPage, }: { spaces: SpaceProps[]; page: number; handleNextPage: () => void; handlePrevPage: () => void; }) => { const max_pages = Math.ceil(spaces.length / MAX_ITEMS_PER_PAGE); return ( ); };