/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/data/system/typography/TextTransform.tsx
12 строк
428 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 TextTransform() { return ( <Typography component="div"> <Box sx={{ textTransform: 'capitalize', m: 1 }}>capitalized text.</Box> <Box sx={{ textTransform: 'lowercase', m: 1 }}>Lowercase Text.</Box> <Box sx={{ textTransform: 'uppercase', m: 1 }}>Uppercase Text.</Box> </Typography> ); }