import { ChevronLeftIcon, ChevronRightIcon, ChevronsLeftIcon, ChevronsRightIcon, } from "lucide-react" import { Button } from "@/components/ui/button" interface PaginationControlsProps { page: number pageCount: number total: number startIndex: number endIndex: number onPageChange: (page: number) => void } export function PaginationControls({ page, pageCount, total, startIndex, endIndex, onPageChange, }: PaginationControlsProps) { const hasPrev = page > 1 const hasNext = page < pageCount return (
第 {startIndex}-{endIndex} 条,共 {total} 条