UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

25 lines (24 loc) 648 B
import { UsePaginationProps } from '@nextui-org/use-pagination'; export interface LinkPaginationProps extends UsePaginationProps { /** * Maximum number of available pages. */ total: number; /** * Currently selected page, 1-based. */ page: number; /** * Translates page number to URL. * * @example * ```ts * (page) => "/users?page=" + page * ``` */ getHref: (page: number) => string; } /** * Complete link-based pagination. */ export declare const LinkPagination: ({ total, page, getHref, showControls, ...props }: LinkPaginationProps) => import("react").JSX.Element;