Created
November 7, 2017 18:03
-
-
Save Mimieam/b0d2829e74abd1d9063dd3c2fc0ece63 to your computer and use it in GitHub Desktop.
Toggle-buttons - Exclusive selection - https://material.io/guidelines/components/buttons.html#buttons-toggle-buttons
This file contains hidden or 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
| import { RadioButton, RadioButtonGroup } from 'material-ui/RadioButton'; | |
| import RaisedButton from 'material-ui/RaisedButton'; | |
| import ToggleButtonGroup from './ToggleButtonGroup' | |
| ... | |
| <ToggleButtonGroup> | |
| <RaisedButton | |
| label="Beginner" | |
| style={styles.customStyle} | |
| /> | |
| <RaisedButton | |
| label="Intermediate" | |
| labelPosition="before" | |
| style={styles.anotherCustomStyle} | |
| /> | |
| <RaisedButton | |
| href="" | |
| target="_blank" | |
| label="Expert" | |
| style={styles.button} | |
| icon={""} | |
| /> | |
| </ToggleButtonGroup> |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Demo 1
