-
-
Save tdeekens/3a185be40b258fb50694304ca6e57291 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> | |
<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