amis-rpc-design/node_modules/rc-pagination/es/Pager.d.ts

16 lines
550 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
import React from 'react';
interface Props {
last?: boolean;
locale?: any;
rootPrefixCls: string;
page: number;
active?: boolean;
className?: string;
showTitle: boolean;
onClick?: (page: number) => void;
onKeyPress?: (e: React.KeyboardEvent<HTMLLIElement>, onClick: Props['onClick'], page: Props['page']) => void;
itemRender?: (page: number, type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next', element: React.ReactNode) => React.ReactNode;
}
declare const Pager: React.FC<Props>;
export default Pager;