import { Button } from "@/shared/ui/button"; import clsx from "clsx"; import { ChevronLeft, ChevronRight } from "lucide-react"; import type { Dispatch, SetStateAction } from "react"; interface Props { currentPage: number; setCurrentPage: Dispatch>; totalPages: number; } const Pagination = ({ currentPage, setCurrentPage, totalPages }: Props) => { return (
{Array.from({ length: totalPages }, (_, i) => ( ))}
); }; export default Pagination;