1 | import type { PaginationLocale, PaginationProps as RcPaginationProps } from 'rc-pagination';
|
2 | import * as React from 'react';
|
3 | export 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 | }
|
13 | export type PaginationPosition = 'top' | 'bottom' | 'both';
|
14 | export type PaginationAlign = 'start' | 'center' | 'end';
|
15 | export interface PaginationConfig extends Omit<PaginationProps, 'rootClassName'> {
|
16 | position?: PaginationPosition;
|
17 | align?: PaginationAlign;
|
18 | }
|
19 | export type { PaginationLocale };
|
20 | declare const Pagination: React.FC<PaginationProps>;
|
21 | export default Pagination;
|