react js form radio input using hooks

Solutions on MaxInterview for react js form radio input using hooks by the best coders in the world

showing results for - "react js form radio input using hooks"
Macey
18 Feb 2018
1<Form.Group inline>
2    <label>Gender</label>
3    <Form.Radio label="Male" checked={gender === 'Male'} value="Male" onClick={() => setGender('Male')} />
4    <Form.Radio label="Female" checked={gender === 'Female'} value="Female" onClick={() => setGender('Female')} />
5</Form.Group>
6
Antonio
20 Jan 2016
1<Form.Field control={Radio} label="Male" checked={gender === 'Male'} value="Male" onClick={() => setGender('Male')} />
2<Form.Field control={Radio} label="Female" checked={gender === 'Female'} value="Female" onClick={() => setGender('Female')} />
3