Skip to content

Commit

Permalink
fix(ui/pagination): fix pagination not require props (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
ifSadEveryDay authored Apr 6, 2023
1 parent 81d2751 commit 20885d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/varlet-ui/types/pagination.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export interface PaginationProps extends BasicAttributes {
sizeOption?: Array<number>
showTotal?: (total: number, range: Range) => string
onChange?: ListenerProp<(current: number, size: number) => void>
'onUpdate:current': ListenerProp<(current: number) => void>
'onUpdate:size': ListenerProp<(size: number) => void>
'onUpdate:current'?: ListenerProp<(current: number) => void>
'onUpdate:size'?: ListenerProp<(size: number) => void>
}

export class Pagination extends VarComponent {
Expand Down

0 comments on commit 20885d3

Please sign in to comment.