diff --git a/docs/pages/material-ui/api/alert-title.json b/docs/pages/material-ui/api/alert-title.json index a7071d735ff76f..22ea73dca5e39c 100644 --- a/docs/pages/material-ui/api/alert-title.json +++ b/docs/pages/material-ui/api/alert-title.json @@ -21,7 +21,7 @@ "muiName": "MuiAlertTitle", "forwardsRefTo": "HTMLDivElement", "filename": "/packages/mui-material/src/AlertTitle/AlertTitle.js", - "inheritance": null, + "inheritance": { "component": "Typography", "pathname": "/material-ui/api/typography/" }, "demos": "", "cssComponent": false } diff --git a/docs/pages/material-ui/api/breadcrumbs.json b/docs/pages/material-ui/api/breadcrumbs.json index a7753b832ae3e9..8aad9e7ab4d1fc 100644 --- a/docs/pages/material-ui/api/breadcrumbs.json +++ b/docs/pages/material-ui/api/breadcrumbs.json @@ -45,7 +45,7 @@ "muiName": "MuiBreadcrumbs", "forwardsRefTo": "HTMLElement", "filename": "/packages/mui-material/src/Breadcrumbs/Breadcrumbs.js", - "inheritance": null, + "inheritance": { "component": "Typography", "pathname": "/material-ui/api/typography/" }, "demos": "", "cssComponent": false } diff --git a/packages/mui-material/src/AlertTitle/AlertTitle.d.ts b/packages/mui-material/src/AlertTitle/AlertTitle.d.ts index e809926f6ec3f8..b9d7a90adae0e0 100644 --- a/packages/mui-material/src/AlertTitle/AlertTitle.d.ts +++ b/packages/mui-material/src/AlertTitle/AlertTitle.d.ts @@ -27,5 +27,6 @@ export interface AlertTitleProps extends StandardProps', () => { const { render } = createRenderer(); describeConformance(, () => ({ classes, - inheritComponent: 'div', + inheritComponent: Typography, render, muiName: 'MuiAlertTitle', refInstanceof: window.HTMLDivElement, diff --git a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts index 123891f11e4fde..af7fb0280752cc 100644 --- a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts +++ b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.d.ts @@ -96,6 +96,7 @@ export interface BreadcrumbsTypeMap< * API: * * - [Breadcrumbs API](https://mui.com/material-ui/api/breadcrumbs/) + * - inherits [Typography API](https://mui.com/material-ui/api/typography/) */ declare const Breadcrumbs: OverridableComponent; diff --git a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js index 9002f7388dc6e5..912c95172ec178 100644 --- a/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js +++ b/packages/mui-material/src/Breadcrumbs/Breadcrumbs.test.js @@ -8,6 +8,7 @@ import { strictModeDoubleLoggingSuppressed, } from 'test/utils'; import Breadcrumbs, { breadcrumbsClasses as classes } from '@mui/material/Breadcrumbs'; +import Typography from '@mui/material/Typography'; import FirstPageIcon from '../internal/svg-icons/FirstPage'; describe('', () => { @@ -15,7 +16,7 @@ describe('', () => { describeConformance(Conformance?, () => ({ classes, - inheritComponent: 'nav', + inheritComponent: Typography, render, muiName: 'MuiBreadcrumbs', refInstanceof: window.HTMLElement,