707 BTypeScriptView Raw
1import * as React from 'react';
2import type { PaginationLocale, PaginationProps as RcPaginationProps } from 'rc-pagination';
3export interface PaginationProps extends RcPaginationProps {
4 showQuickJumper?: boolean | {
5 goButton?: React.ReactNode;
6 };
7 size?: 'default' | 'small';
8 responsive?: boolean;
9 role?: string;
10 totalBoundaryShowSizeChanger?: number;
11 rootClassName?: string;
12}
13export type PaginationPosition = 'top' | 'bottom' | 'both';
14export interface PaginationConfig extends Omit<PaginationProps, 'rootClassName'> {
15 position?: PaginationPosition;
16}
17export type { PaginationLocale };
18declare const Pagination: React.FC<PaginationProps>;
19export default Pagination;