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
28 lines
697 B
JavaScript
28 lines
697 B
JavaScript
import FormatBoldIcon from '@mui/icons-material/FormatBold';
|
|
import FormatItalicIcon from '@mui/icons-material/FormatItalic';
|
|
import Box from '@mui/material/Box';
|
|
import Divider from '@mui/material/Divider';
|
|
|
|
export default function FlexDivider() {
|
|
return (
|
|
<Box
|
|
sx={{
|
|
display: 'inline-flex',
|
|
alignItems: 'center',
|
|
border: '1px solid',
|
|
borderColor: 'divider',
|
|
borderRadius: 2,
|
|
bgcolor: 'background.paper',
|
|
color: 'text.secondary',
|
|
'& svg': {
|
|
m: 1,
|
|
},
|
|
}}
|
|
>
|
|
<FormatBoldIcon />
|
|
<Divider orientation="vertical" variant="middle" flexItem />
|
|
<FormatItalicIcon />
|
|
</Box>
|
|
);
|
|
}
|