Skip to content

Commit

Permalink
remove radio group
Browse files Browse the repository at this point in the history
  • Loading branch information
IrynaSlavinska committed Feb 2, 2024
1 parent f7f6112 commit 072d9c3
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions src/components/ContactForm/ContactForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,53 +75,6 @@ export const ContactForm = () => {
/>
</Label>

<Group>Group</Group>
<RadioContainer>
<label>
Family
<RadioInput
type="radio"
name="group"
value="family"
onChange={handleChange}
checked={group === 'family'}
/>
</label>

<label>
Friends
<RadioInput
type="radio"
name="group"
value="friends"
onChange={handleChange}
checked={group === 'friends'}
/>
</label>

<label>
Work
<RadioInput
type="radio"
name="group"
value="work"
onChange={handleChange}
checked={group === 'work'}
/>
</label>

<label>
Others
<RadioInput
type="radio"
name="group"
value="others"
onChange={handleChange}
checked={group === 'others'}
/>
</label>
</RadioContainer>

<SubmitButton type="submit">Add contact</SubmitButton>
</Form>
);
Expand Down

0 comments on commit 072d9c3

Please sign in to comment.