🔧 chore: radioItem leftIcon use span
This commit is contained in:
parent
4a86952810
commit
ab77ce681a
@ -75,8 +75,11 @@ export const RadioItem = ({
|
|||||||
className={indicator({ className: indicatorProps?.className })}
|
className={indicator({ className: indicatorProps?.className })}
|
||||||
/>
|
/>
|
||||||
</RadixRadio>
|
</RadixRadio>
|
||||||
{leftIcon &&
|
{leftIcon && (
|
||||||
cloneIcon(leftIcon, { className: icon(), 'aria-hidden': true })}
|
<span>
|
||||||
|
{cloneIcon(leftIcon, { className: icon(), 'aria-hidden': true })}
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
{label && (
|
{label && (
|
||||||
<label
|
<label
|
||||||
{...labelProps}
|
{...labelProps}
|
||||||
|
Loading…
Reference in New Issue
Block a user