File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
docs/pages/material-ui/api Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 210
210
"muiName" : " MuiPaginationItem" ,
211
211
"forwardsRefTo" : " HTMLButtonElement" ,
212
212
"filename" : " /packages/mui-material/src/PaginationItem/PaginationItem.js" ,
213
- "inheritance" : null ,
213
+ "inheritance" : { "component" : " ButtonBase " , "pathname" : " /material-ui/api/button-base/ " } ,
214
214
"demos" : " <ul><li><a href=\" /material-ui/react-pagination/\" >Pagination</a></li></ul>" ,
215
215
"cssComponent" : false
216
216
}
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ export interface PaginationItemTypeMap<
123
123
* API:
124
124
*
125
125
* - [PaginationItem API](https://mui.com/material-ui/api/pagination-item/)
126
+ * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
126
127
*/
127
128
declare const PaginationItem : OverridableComponent < PaginationItemTypeMap > ;
128
129
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import KeyboardDoubleArrowRightIcon from '@mui/icons-material/KeyboardDoubleArro
6
6
import ArrowBackIcon from '@mui/icons-material/ArrowBack' ;
7
7
import ArrowForwardIcon from '@mui/icons-material/ArrowForward' ;
8
8
import PaginationItem , { paginationItemClasses as classes } from '@mui/material/PaginationItem' ;
9
+ import ButtonBase from '@mui/material/ButtonBase' ;
9
10
import RtlProvider from '@mui/system/RtlProvider' ;
10
11
import describeConformance from '../../test/describeConformance' ;
11
12
@@ -14,7 +15,7 @@ describe('<PaginationItem />', () => {
14
15
15
16
describeConformance ( < PaginationItem /> , ( ) => ( {
16
17
classes,
17
- inheritComponent : 'button' ,
18
+ inheritComponent : ButtonBase ,
18
19
render,
19
20
muiName : 'MuiPaginationItem' ,
20
21
refInstanceof : window . HTMLButtonElement ,
You can’t perform that action at this time.
0 commit comments