diff --git a/docs/src/modules/components/ApiPage.js b/docs/src/modules/components/ApiPage.js index db69ed7265e20e..5a476debc1312d 100644 --- a/docs/src/modules/components/ApiPage.js +++ b/docs/src/modules/components/ApiPage.js @@ -3,12 +3,9 @@ import * as React from 'react'; import PropTypes from 'prop-types'; import { exactProp } from '@mui/utils'; -import Button from '@mui/material/Button'; import Typography from '@mui/material/Typography'; import Divider from '@mui/material/Divider'; import Alert from '@mui/material/Alert'; -import AlertTitle from '@mui/material/AlertTitle'; -import ReviewsRoundedIcon from '@mui/icons-material/ReviewsRounded'; import { alpha } from '@mui/material/styles'; import { useTranslate, useUserLanguage } from 'docs/src/modules/utils/i18n'; import HighlightedCode from 'docs/src/modules/components/HighlightedCode'; @@ -68,40 +65,6 @@ Heading.propTypes = { level: PropTypes.string, }; -function DesignInfo() { - return ( - } - sx={[ - (theme) => ({ - mt: 4, - padding: '16px 20px', - gap: 1, - background: alpha(theme.palette.primary[50], 0.5), - border: '1px dashed', - borderColor: (theme.vars || theme).palette.divider, - ...theme.applyDarkStyles({ - background: alpha(theme.palette.primary[900], 0.2), - }), - }), - ]} - > - theme.typography.fontWeightSemiBold }}> - Have any feedback about this new API display design? - - - We've heard from you and iterated on making the design of API content documentation - more scalable and easier to parse! We value your input, so please don't hesitate to - share any additional feedback you may have. - - - - ); -} - export default function ApiPage(props) { const { descriptions, disableAd = false, pageContent } = props; const t = useTranslate(); @@ -339,8 +302,6 @@ export default function ApiPage(props) { classDescriptions={classDescriptions} spreadHint={t('api-docs.classesDescription')} /> - -