PromoCursed/node_modules/antd/lib/pagination/Pagination.d.ts
2024-08-20 23:25:37 +04:00

20 lines
707 B
TypeScript

import * as React from 'react';
import type { PaginationLocale, PaginationProps as RcPaginationProps } from 'rc-pagination';
export interface PaginationProps extends RcPaginationProps {
showQuickJumper?: boolean | {
goButton?: React.ReactNode;
};
size?: 'default' | 'small';
responsive?: boolean;
role?: string;
totalBoundaryShowSizeChanger?: number;
rootClassName?: string;
}
export type PaginationPosition = 'top' | 'bottom' | 'both';
export interface PaginationConfig extends Omit<PaginationProps, 'rootClassName'> {
position?: PaginationPosition;
}
export type { PaginationLocale };
declare const Pagination: React.FC<PaginationProps>;
export default Pagination;