import { Icon } from "components/Ico"; import { cJoin } from "helpers/className"; import { Dispatch, SetStateAction } from "react"; import { Button } from "./Button"; /* * ╭─────────────╮ * ───────────────────────────────────────╯ COMPONENT ╰─────────────────────────────────────────── */ interface Props { className?: string; maxPage: number; page: number; setPage: Dispatch>; } // ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ export const PageSelector = ({ page, setPage, maxPage, className, }: Props): JSX.Element => (
);