🔧 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 })}
|
||||
/>
|
||||
</RadixRadio>
|
||||
{leftIcon &&
|
||||
cloneIcon(leftIcon, { className: icon(), 'aria-hidden': true })}
|
||||
{leftIcon && (
|
||||
<span>
|
||||
{cloneIcon(leftIcon, { className: icon(), 'aria-hidden': true })}
|
||||
</span>
|
||||
)}
|
||||
{label && (
|
||||
<label
|
||||
{...labelProps}
|
||||
|
Loading…
Reference in New Issue
Block a user