Guest User

Untitled

a guest
Jan 18th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. <RadioButtonGroup name="user_status" defaultSelected="hello" onChange={updateNewInactive}>
  2. <RadioButton
  3. value="hello"
  4. label="Active"
  5. />
  6. <RadioButton
  7. value="goodbye"
  8. label="Inactive"
  9. />
  10. </RadioButtonGroup>
  11.  
  12. <RadioButtonGroup valueSelected={this.state.cranRadio} onChange={this.handleCRAN} style={{ display: 'flex', flexWrap: 'wrap', justifyContent: 'space-between'}} name="coin" defaultSelected="not_light">
  13. <RadioButton
  14. value="Yes"
  15. label="Yes"
  16. inputStyle={styles.inputStyle}
  17. style={{ width: 'auto'}}
  18. labelStyle={{marginLeft:'-10px'}}
  19. />
  20. <RadioButton
  21. value="No"
  22. label="No"
  23. style={{ width: 'auto' }}
  24. inputStyle={styles.inputStyle}
  25. labelStyle={{marginLeft:'-10px'}}
  26. />
  27. </RadioButtonGroup>
Add Comment
Please, Sign In to add comment