/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/pages/_document.tsx
14 строк
410 B
Brijesh Bittu
[code-infra] Setup workflow to publish internal packages (#47952)
02 апр 2026, 19:42
Не верифицирован
02 апр 2026, 19:42
d7d328c
Код
Авторство
О чём код?
import NextDocument from 'next/document'; import { Document as MuiDocsDocument, createGetInitialProps, type DocumentProps, } from '@mui/internal-core-docs/Document'; export default class MuiDocument extends NextDocument { static getInitialProps = createGetInitialProps({ setupStyledComponents: true }); render() { return <MuiDocsDocument {...(this.props as unknown as DocumentProps)} />; } }