import { Button } from '@/components/radix/Button'; import { ChevronLeft, ChevronRight } from 'lucide-react'; export interface PaginationControlsProps { currentPage?: number; totalPages?: number; onPageChange?: (page: number) => void; totalRecords?: number; pageSize?: number; recordLabel?: string; } export function PaginationControls({ currentPage = 1, totalPages = 1, onPageChange, totalRecords = 0, pageSize = 50, recordLabel = 'results', }: PaginationControlsProps) { const startRecord = totalRecords === 0 ? 0 : (currentPage - 1) * pageSize + 1; const endRecord = Math.min(currentPage * pageSize, totalRecords); return (