Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <FormControl component="fieldset">
- <FormLabel component="legend">{question}</FormLabel>
- <RadioGroup
- aria-label={qid}
- name={qid}
- value={value}
- onChange={handleChange}
- >
- {
- options.map(op=><FormControlLabel value={i++} control={<Radio />} label={op.option} />)
- }
- </RadioGroup>
- </FormControl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement