Skip to content

Commit

Permalink
Merge pull request #15428 from DiamondYuan/fix#15384
Browse files Browse the repository at this point in the history
fix: change type of PaginationProps.itemRender originalElement param
  • Loading branch information
afc163 committed Mar 15, 2019
2 parents 4aa32b9 + eecc29d commit e052031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/pagination/Pagination.tsx
Expand Up @@ -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;
}
Expand Down

0 comments on commit e052031

Please sign in to comment.