We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6afd7f commit 44e5d09Copy full SHA for 44e5d09
components/pagination/Pagination.tsx
@@ -27,10 +27,7 @@ export const paginationProps = () => ({
27
showSizeChanger: booleanType(),
28
pageSizeOptions: arrayType<(string | number)[]>(),
29
buildOptionText: functionType<(opt: { value: any }) => any>(),
30
- showQuickJumper: someType<boolean | { goButton?: any }>(
31
- [Boolean, Object],
32
- undefined as boolean | { goButton?: any },
33
- ),
+ showQuickJumper: someType<boolean | { goButton?: any }>([Boolean, Object]),
34
showTotal: functionType<(total: number, range: [number, number]) => any>(),
35
size: stringType<'default' | 'small'>(),
36
simple: booleanType(),
0 commit comments