mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-11-17 16:29:19 +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