fix: inherit itemRender typing from rc-pagination (#32931)

fix #32878
This commit is contained in:
JounQin 2021-11-18 14:10:52 +08:00 committed by GitHub
parent 3fafb7f8d5
commit 077ff7cab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,11 +20,6 @@ export interface PaginationProps extends RcPaginationProps {
showQuickJumper?: boolean | { goButton?: React.ReactNode };
size?: 'default' | 'small';
responsive?: boolean;
itemRender?: (
page: number,
type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next',
originalElement: React.ReactElement<HTMLElement>,
) => React.ReactNode;
role?: string;
totalBoundaryShowSizeChanger?: number;
}