import { ArrowLeft, ArrowRight } from 'lucide-react'; import { cn } from '@/lib/utils'; type PageControlsProps = { currentPage: number; lastPage: number; setCurrentPage: (page: number) => void; bottom?: boolean; }; export function PageControls({ currentPage, lastPage, bottom = false, setCurrentPage, }: PageControlsProps) { return (
{Array.from({ length: currentPage }, (_, i) => ( ))} {Array.from({ length: lastPage - currentPage }, (_, i) => ( ))}
); }