/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/data/system/typography/FontStyle.js
12 строк
411 B
Brijesh Bittu
[code-infra] Remove React import requirement for jsx (#47146)
29 окт 2025, 20:55
Не верифицирован
29 окт 2025, 20:55
6c9e82f
Код
Авторство
О чём код?
import Typography from '@mui/material/Typography'; import Box from '@mui/material/Box'; export default function FontStyle() { return ( <Typography component="div"> <Box sx={{ fontStyle: 'normal', m: 1 }}>Normal font style.</Box> <Box sx={{ fontStyle: 'italic', m: 1 }}>Italic font Style.</Box> <Box sx={{ fontStyle: 'oblique', m: 1 }}>Oblique font style.</Box> </Typography> ); }