Test page: fix small switch spacing

This commit is contained in:
Sidney Alcantara
2021-11-01 16:20:33 +11:00
parent 32572b6b54
commit de4d698591

View File

@@ -768,14 +768,7 @@ export default function TestView() {
</Stack>
<div>
<FormControlLabel
control={<Switch />}
label="Label"
sx={{
alignItems: "center",
"& .MuiFormControlLabel-label": { mt: 0 },
}}
/>
<FormControlLabel control={<Switch />} label="Label" />
<FormControlLabel
control={<Switch size="medium" />}
label="Label"