'use client'; import * as React from 'react'; import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from '@/icons'; import { cn } from '@/lib/utils'; import { buttonVariants, type ButtonProps } from '@/components/button/button'; export type PaginationProps = React.ComponentProps<'nav'>; export type PaginationLinkProps = { isActive?: boolean; } & Pick & React.ComponentProps<'a'>; /** * Page navigation. * * Renders real anchors so pages stay linkable and open-in-new-tab works. Wire * each link to a route or query string rather than a click handler. */ function Pagination({ className, ...props }: PaginationProps) { return (