@coconut-software/ui
Version:
React components for faster and easier web development.
16 lines (15 loc) • 650 B
TypeScript
import type { KeyboardEvent, MouseEvent, PropsWithChildren } from 'react';
import type { PaginationColor, PaginationSize, PaginationVariant } from './Pagination';
interface PageListProps {
boundaryCount: number;
count: number;
color: PaginationColor;
disabled: boolean;
onClick: (event: MouseEvent | KeyboardEvent) => void;
page: number;
siblingCount: number;
size: PaginationSize;
variant: PaginationVariant;
}
declare function PageList({ boundaryCount, count, color, disabled, page, onClick, siblingCount, size, variant, }: PropsWithChildren<PageListProps>): JSX.Element;
export default PageList;