Repository URL to install this package:
|
Version:
2.8.4 ▾
|
import React from 'react';
import { NO_OP } from 'exotic';
import { PaginationProps, PaginationState } from './typings';
import { defaultRenderWrapper, defaultRenderDropDown, defaultRenderPaginationWithArrows, defaultRenderLeftButton, defaultRenderPaginationInput, defaultRenderRightButton, defaultOnDecrement, defaultOnIncrement } from './renderProps';
import { CountState } from './state';
declare class Pagination extends React.Component<PaginationProps, PaginationState> {
static defaultProps: {
className: string;
paginationLimit: number;
defaultIndex: number;
list: {
label: string;
value: string;
isSelected: boolean;
}[];
renderWrapper: typeof defaultRenderWrapper;
renderPaginationWithArrows: typeof defaultRenderPaginationWithArrows;
renderLeftButton: typeof defaultRenderLeftButton;
renderRightButton: typeof defaultRenderRightButton;
renderDropDown: typeof defaultRenderDropDown;
renderPaginationInput: typeof defaultRenderPaginationInput;
onDecrement: typeof defaultOnDecrement;
onIncrement: typeof defaultOnIncrement;
onDropdownChange: typeof NO_OP;
onPaginationInputChange: typeof NO_OP;
onPaginationInputBlur: typeof NO_OP;
};
observableState: CountState;
setPaginator(props: any): void;
componentWillMount(): void;
componentWillReceiveProps(nextProps: any): void;
render(): React.ReactNode;
}
export { Pagination };
export default Pagination;