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
21 lines
491 B
TypeScript
21 lines
491 B
TypeScript
import Box from '@mui/material/Box';
|
|
|
|
const commonStyles = {
|
|
bgcolor: 'background.paper',
|
|
borderColor: 'text.primary',
|
|
m: 1,
|
|
border: 1,
|
|
width: '5rem',
|
|
height: '5rem',
|
|
};
|
|
|
|
export default function BorderRadius() {
|
|
return (
|
|
<Box sx={{ display: 'flex', justifyContent: 'center' }}>
|
|
<Box sx={{ ...commonStyles, borderRadius: '50%' }} />
|
|
<Box sx={{ ...commonStyles, borderRadius: 1 }} />
|
|
<Box sx={{ ...commonStyles, borderRadius: '16px' }} />
|
|
</Box>
|
|
);
|
|
}
|