PromoCursed/node_modules/rc-pagination/es/Pager.d.ts
2024-08-20 23:25:37 +04:00

14 lines
497 B
TypeScript

import React from 'react';
import type { PaginationProps } from './interface';
export interface PagerProps extends Pick<PaginationProps, 'itemRender'> {
rootPrefixCls: string;
page: number;
active?: boolean;
className?: string;
showTitle: boolean;
onClick?: (page: number) => void;
onKeyPress?: (e: React.KeyboardEvent<HTMLLIElement>, onClick: PagerProps['onClick'], page: PagerProps['page']) => void;
}
declare const Pager: React.FC<PagerProps>;
export default Pager;