forked from cerc-io/snowballtools-base
🔧 chore: add htmlFor to label in radioItem
This commit is contained in:
parent
ab77ce681a
commit
e9d38e0d3b
@ -67,7 +67,10 @@ export const RadioItem = ({
|
|||||||
const componentId = id ?? kebabCaseLabel;
|
const componentId = id ?? kebabCaseLabel;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<label className={wrapper({ className: wrapperProps?.className })}>
|
<label
|
||||||
|
htmlFor={componentId}
|
||||||
|
className={wrapper({ className: wrapperProps?.className })}
|
||||||
|
>
|
||||||
<RadixRadio {...props} className={radio({ className })} id={componentId}>
|
<RadixRadio {...props} className={radio({ className })} id={componentId}>
|
||||||
<RadixIndicator
|
<RadixIndicator
|
||||||
forceMount
|
forceMount
|
||||||
|
Loading…
Reference in New Issue
Block a user