File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ const CustomTooltip = (props) => {
2121 return (
2222 < MuiTooltip
2323 title = { props . title }
24- TransitionComponent = { Fade }
25- TransitionProps = { { timeout : 250 } }
24+ slots = { { transition : Fade } }
25+ slotProps = { { transition : { timeout : 250 } } }
2626 leaveDelay = { 250 } > { props . children } </ MuiTooltip >
2727 ) ;
2828} ;
Original file line number Diff line number Diff line change @@ -37,11 +37,15 @@ class CustomFooter extends React.Component {
3737 page = { page }
3838 labelRowsPerPage = { textLabels . rowsPerPage }
3939 labelDisplayedRows = { ( { from, to, count } ) => `${ from } -${ to } ${ textLabels . displayRows } ${ count } ` }
40- backIconButtonProps = { {
41- 'aria-label' : textLabels . previous ,
42- } }
43- nextIconButtonProps = { {
44- 'aria-label' : textLabels . next ,
40+ slotProps = { {
41+ actions : {
42+ previousButton : {
43+ 'aria-label' : textLabels . previous ,
44+ } ,
45+ nextButton : {
46+ 'aria-label' : textLabels . next ,
47+ }
48+ }
4549 } }
4650 rowsPerPageOptions = { [ 10 , 20 , 100 ] }
4751 onPageChange = { this . handlePageChange }
You can’t perform that action at this time.
0 commit comments