Advertisement
Fahim_7861

current

Mar 24th, 2021
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <FormControl component="fieldset">
  2. <FormLabel component="legend">{question}</FormLabel>
  3. <RadioGroup
  4. aria-label={qid}
  5. name={qid}
  6. value={value}
  7. onChange={handleChange}
  8. >
  9. {
  10.  
  11. options.map(op=><FormControlLabel value={i++} control={<Radio />} label={op.option} />)
  12.  
  13.  
  14. }
  15. </RadioGroup>
  16. </FormControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement