UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

21 lines (20 loc) 610 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 (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;