fix: change type of PaginationProps.itemRender originalElement param
This commit is contained in:
偏右 2019-03-15 19:00:49 +08:00 committed by GitHub
commit e0520318c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ export interface PaginationProps {
itemRender?: (
page: number,
type: 'page' | 'prev' | 'next' | 'jump-prev' | 'jump-next',
originalElement: HTMLElement,
originalElement: React.ReactElement<HTMLElement>,
) => React.ReactNode;
role?: string;
}