import * as React from 'react' import { cn } from '@/lib/utils' import { Button } from './button' import { CaretLeft, CaretRight, CaretDoubleLeft, CaretDoubleRight } from '@phosphor-icons/react' export interface PaginationControlsProps { currentPage: number totalPages: number onPageChange: (page: number) => void className?: string showFirstLast?: boolean } export function PaginationControls({ currentPage, totalPages, onPageChange, className, showFirstLast = true }: PaginationControlsProps) { const canGoPrevious = currentPage > 1 const canGoNext = currentPage < totalPages return (