mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +08:00
Merge pull request #15428 from DiamondYuan/fix#15384
fix: change type of PaginationProps.itemRender originalElement param
This commit is contained in:
commit
e0520318c8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user