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
642 B
JavaScript
21 lines
642 B
JavaScript
import * as React from 'react';
|
|
import { CssVarsProvider } from '@mui/joy/styles';
|
|
import Box from '@mui/joy/Box';
|
|
import Switch from '@mui/joy/Switch';
|
|
|
|
export default function SwitchJoy() {
|
|
return (
|
|
<CssVarsProvider>
|
|
<Box sx={{ display: 'grid', gap: '1rem', gridTemplateColumns: 'repeat(4, min-content)' }}>
|
|
<Switch />
|
|
<Switch defaultChecked />
|
|
<Switch defaultChecked color="success" />
|
|
<Switch variant="outlined" />
|
|
<Switch variant="outlined" defaultChecked />
|
|
<Switch variant="soft" />
|
|
<Switch variant="soft" defaultChecked />
|
|
</Box>
|
|
</CssVarsProvider>
|
|
);
|
|
}
|