Skip to content

Commit

Permalink
refactor: update ListTable sizeOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Sep 20, 2023
1 parent 1d27070 commit c31652d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/tushan/client/components/list/ListTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export const ListTable: React.FC<ListTableProps> = React.memo((props) => {
pageSize,
showTotal: props.showTotal ?? true,
sizeCanChange: props.showSizeChanger ?? false,
sizeOptions: [10, 20, 50, 100],
onChange: (pageNum, pageSize) => {
setPageNum(pageNum);
setPageSize(pageSize);
Expand Down

0 comments on commit c31652d

Please sign in to comment.