Browse Source

fix: change type of PaginationProps.itemRender originalElement param

pull/15428/head
DiamondYuan 6 years ago
parent
commit
eecc29da5e
  1. 2
      components/pagination/Pagination.tsx

2
components/pagination/Pagination.tsx

@ -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…
Cancel
Save