mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-12-22 20:47:44 +00:00
🔧 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