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
844 B
TypeScript
28 lines
844 B
TypeScript
import Radio from '@mui/material/Radio';
|
|
import RadioGroup from '@mui/material/RadioGroup';
|
|
import FormControlLabel from '@mui/material/FormControlLabel';
|
|
import FormControl from '@mui/material/FormControl';
|
|
import FormLabel from '@mui/material/FormLabel';
|
|
|
|
export default function FormControlLabelPlacement() {
|
|
return (
|
|
<FormControl>
|
|
<FormLabel id="demo-form-control-label-placement">Label placement</FormLabel>
|
|
<RadioGroup
|
|
row
|
|
aria-labelledby="demo-form-control-label-placement"
|
|
name="position"
|
|
defaultValue="top"
|
|
>
|
|
<FormControlLabel
|
|
value="bottom"
|
|
control={<Radio />}
|
|
label="Bottom"
|
|
labelPlacement="bottom"
|
|
/>
|
|
<FormControlLabel value="end" control={<Radio />} label="End" />
|
|
</RadioGroup>
|
|
</FormControl>
|
|
);
|
|
}
|