UNPKG

rsuite

Version:

A suite of react components

22 lines (15 loc) 663 B
import * as React from 'react'; import { StandardProps } from '../@types/common'; import PaginationBaseProps from './PaginationBase'; export interface PaginationProps extends StandardProps, PaginationBaseProps { /** Show border paging buttons 1 and pages */ boundaryLinks?: boolean; /** Displays the ellipsis */ ellipsis?: boolean | React.ReactNode; /** Customizes the element type for the component */ buttonComponentClass?: React.ElementType; /** callback function for pagination clicked */ onSelect?: (event: React.SyntheticEvent<any>) => void; } declare const Pagination: React.ComponentType<PaginationProps>; export default Pagination;