Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import FormatAlignLeftIcon from '@mui/icons-material/FormatAlignLeft';
|
|
import FormatAlignCenterIcon from '@mui/icons-material/FormatAlignCenter';
|
|
import FormatAlignRightIcon from '@mui/icons-material/FormatAlignRight';
|
|
import FormatBoldIcon from '@mui/icons-material/FormatBold';
|
|
import FormatItalicIcon from '@mui/icons-material/FormatItalic';
|
|
import Box from '@mui/joy/Box';
|
|
import Divider from '@mui/joy/Divider';
|
|
|
|
export default function VerticalDividers() {
|
|
return (
|
|
<div>
|
|
<Box
|
|
sx={{
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
width: 'fit-content',
|
|
border: '1px solid',
|
|
borderColor: 'divider',
|
|
borderRadius: 'sm',
|
|
bgcolor: 'background.surface',
|
|
color: 'text.secondary',
|
|
'& svg': {
|
|
m: 1.5,
|
|
},
|
|
'& hr': {
|
|
mx: 0.5,
|
|
},
|
|
}}
|
|
>
|
|
<FormatAlignLeftIcon />
|
|
<FormatAlignCenterIcon />
|
|
<FormatAlignRightIcon />
|
|
<Divider orientation="vertical" />
|
|
<FormatBoldIcon />
|
|
<FormatItalicIcon />
|
|
</Box>
|
|
</div>
|
|
);
|
|
}
|