UNPKG

semantic-ui-react

Version:
37 lines (28 loc) 1.03 kB
import * as React from 'react' export interface PaginationItemProps extends StrictPaginationItemProps { [key: string]: any } export interface StrictPaginationItemProps { /** A pagination item can be active. */ active?: boolean /** A pagination item can be disabled. */ disabled?: boolean /** * Called on click. * * @param {SyntheticEvent} event - React's original SyntheticEvent. * @param {object} data - All props. */ onClick?: (event: React.MouseEvent<HTMLAnchorElement>, data: PaginationItemProps) => void /** * Called on key down. * * @param {SyntheticEvent} event - React's original SyntheticEvent. * @param {object} data - All props. */ onKeyDown?: (event: React.MouseEvent<HTMLAnchorElement>, data: PaginationItemProps) => void /** A pagination should have a type. */ type?: 'ellipsisItem' | 'firstItem' | 'prevItem' | 'pageItem' | 'nextItem' | 'lastItem' } declare class PaginationItem extends React.Component<PaginationItemProps> {} export default PaginationItem