Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Mar 27, 2019
1 parent 613ed71 commit 89e6895
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "rc-pagination",
"version": "1.17.12",
"version": "1.17.13",
"description": "pagination ui component for react",
"keywords": [
"react",
Expand Down
2 changes: 1 addition & 1 deletion rc-pagination.d.ts
Expand Up @@ -33,7 +33,7 @@ declare module 'rc-pagination' {
onChange?: (page: number, pageSize: number) => void;
onShowSizeChange?: (current: number, size: number) => void;
itemRender?: (page: number, type: string, element: React.ReactNode) => React.ReactNode;
showTotal?: (total: number, range: number[]) => string;
showTotal?: (total: number, range: [number, number]) => React.ReactNode;
}

export default class Pagination extends React.Component<PaginationProps> { }
Expand Down

0 comments on commit 89e6895

Please sign in to comment.