Skip to content

Instantly share code, notes, and snippets.

@tdeekens
Last active April 28, 2018 13:32
Show Gist options
  • Save tdeekens/3a185be40b258fb50694304ca6e57291 to your computer and use it in GitHub Desktop.
Save tdeekens/3a185be40b258fb50694304ca6e57291 to your computer and use it in GitHub Desktop.
class UIComponent extends React.Component {
handleChange = event => {};
render() {
return (
<RadioGroup>
<RadioOption
name="size"
value="m"
selectedValue={this.props.tshirt.size}
onChange={this.handleChange}
>
M
</RadioOption>
{/* two more of these with the respective props */}
</RadioGroup>
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment