/
githubmirror
/
material-ui
Обзор
Документация
Войти
/
githubmirror
/
material-ui
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/data/system/borders/BorderSubtractive.js
22 строки
587 B
Brijesh Bittu
[code-infra] Remove React import requirement for jsx (#47146)
29 окт 2025, 20:55
Не верифицирован
29 окт 2025, 20:55
6c9e82f
Код
Авторство
О чём код?
import Box from '@mui/material/Box'; const commonStyles = { bgcolor: 'background.paper', border: 1, m: 1, borderColor: 'text.primary', width: '5rem', height: '5rem', }; export default function BorderSubtractive() { return ( <Box sx={{ display: 'flex', justifyContent: 'center' }}> <Box sx={{ ...commonStyles, border: 0 }} /> <Box sx={{ ...commonStyles, borderTop: 0 }} /> <Box sx={{ ...commonStyles, borderRight: 0 }} /> <Box sx={{ ...commonStyles, borderBottom: 0 }} /> <Box sx={{ ...commonStyles, borderLeft: 0 }} /> </Box> ); }