Skip to content

Commit 0e9d53e

Browse files
committed
Implement basic RadioButton component
1 parent 1d3f6bd commit 0e9d53e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/components/radio-button.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<input
2+
type="radio"
3+
checked={{eq @groupValue @value}}
4+
...attributes
5+
{{on "change" (fn @onChange @value)}}
6+
/>

0 commit comments

Comments
 (0)