Skip to content

Commit

Permalink
Radio: Remove deprecated component
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhabib committed Oct 2, 2024
1 parent 0d694f1 commit 505c982
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 398 deletions.
25 changes: 25 additions & 0 deletions .changeset/green-trees-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
'braid-design-system': major
---

---
updated:
- Radio
---

**Radio:** Remove deprecated component

Remove deprecated `Radio` component in favour of `RadioGroup` with `RadioItem` children.

### MIGRATION GUIDE:

```diff
- <Radio checked={checked} onChange={handleOnChange} label="Option" />
+ <RadioGroup
+ value={value}
+ onChange={handleOnChange}
+ label="Options"
+ >
+ <RadioItem value="1">Option</RadioItem>
+ </RadioGroup>
```

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

63 changes: 0 additions & 63 deletions packages/braid-design-system/src/lib/components/Radio/Radio.tsx

This file was deleted.

Loading

0 comments on commit 505c982

Please sign in to comment.