Skip to content

Commit

Permalink
yarn docs:typescript:formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
burtyish committed Oct 20, 2019
1 parent e4a99c1 commit 8070047
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/src/pages/components/checkboxes/FormControlLabelPosition.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ import FormControl from '@material-ui/core/FormControl';
import FormLabel from '@material-ui/core/FormLabel';

function FormControlLabelPosition() {
const [value, setValue] = React.useState('female');

const handleChange = event => {
setValue(event.target.value);
};

return (
<FormControl component="fieldset">
<FormLabel component="legend">labelPlacement</FormLabel>
<FormGroup aria-label="position" name="position" value={value} onChange={handleChange} row>
<FormLabel component="legend">Label Placement</FormLabel>
<FormGroup aria-label="position" row>
<FormControlLabel
value="top"
control={<Checkbox color="primary" />}
Expand Down

0 comments on commit 8070047

Please sign in to comment.