Skip to content

Commit

Permalink
update rowsPerPageOptions prop type to readonly array
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Jan 20, 2024
1 parent 2ce451a commit 69cc5eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export interface TablePaginationOwnProps extends TablePaginationBaseProps {
* Use -1 for the value with a custom label to show all the rows.
* @default [10, 25, 50, 100]
*/
rowsPerPageOptions?: Array<number | { value: number; label: string }>;
rowsPerPageOptions?: ReadonlyArray<number | { value: number; label: string }>;
/**
* Props applied to the rows per page [`Select`](/material-ui/api/select/) element.
*
Expand Down

0 comments on commit 69cc5eb

Please sign in to comment.