-
-
Save tdeekens/742f7f41a1ac5689893c1c6e890660ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UIComponent extends React.Component { | |
handleChange = event => {}; | |
render() { | |
return ( | |
<RadioGroup | |
name="size" | |
value={this.props.tshirt.value} | |
onChange={this.handleChange} | |
> | |
{({ RadioOption }) => ( | |
<React.Fragment> | |
<RadioOption value="m" /> | |
<RadioOption value="l" /> | |
<RadioOption value="xl" /> | |
</React.Fragment> | |
)} | |
</RadioGroup> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment