Skip to content

Commit 44e5d09

Browse files
committed
style: update pagination props type
1 parent f6afd7f commit 44e5d09

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

components/pagination/Pagination.tsx

+1-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ export const paginationProps = () => ({
2727
showSizeChanger: booleanType(),
2828
pageSizeOptions: arrayType<(string | number)[]>(),
2929
buildOptionText: functionType<(opt: { value: any }) => any>(),
30-
showQuickJumper: someType<boolean | { goButton?: any }>(
31-
[Boolean, Object],
32-
undefined as boolean | { goButton?: any },
33-
),
30+
showQuickJumper: someType<boolean | { goButton?: any }>([Boolean, Object]),
3431
showTotal: functionType<(total: number, range: [number, number]) => any>(),
3532
size: stringType<'default' | 'small'>(),
3633
simple: booleanType(),

0 commit comments

Comments
 (0)