Skip to content

Commit

Permalink
[material-ui][docs] Inform about deprecated TablePagination SelectPro…
Browse files Browse the repository at this point in the history
…ps usage (#41186)
  • Loading branch information
gitstart authored Feb 19, 2024
1 parent 7c61280 commit 70b3d36
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,13 @@ export default function CustomPaginationActionsTable() {
count={rows.length}
rowsPerPage={rowsPerPage}
page={page}
SelectProps={{
inputProps: {
'aria-label': 'rows per page',
slotProps={{
select: {
inputProps: {
'aria-label': 'rows per page',
},
native: true,
},
native: true,
}}
onPageChange={handleChangePage}
onRowsPerPageChange={handleChangeRowsPerPage}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,13 @@ export default function CustomPaginationActionsTable() {
count={rows.length}
rowsPerPage={rowsPerPage}
page={page}
SelectProps={{
inputProps: {
'aria-label': 'rows per page',
slotProps={{
select: {
inputProps: {
'aria-label': 'rows per page',
},
native: true,
},
native: true,
}}
onPageChange={handleChangePage}
onRowsPerPageChange={handleChangeRowsPerPage}
Expand Down

0 comments on commit 70b3d36

Please sign in to comment.