Skip to content

Commit 593e0e5

Browse files
committed
back : svg 기존 코드
1 parent 5b70510 commit 593e0e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/icons/components/icon.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ export const Icon = ({
9191
width={typeof w === 'number' ? `${w}px` : w}
9292
height={typeof h === 'number' ? `${h}px` : h}
9393
className={combined}
94-
style={{ ...(color && { color: `var(--${color})` }), ...style }}
94+
style={{ ...(color && { color: `var(--color-${color})` }), ...style }}
9595
aria-hidden={ariaHidden}
9696
{...rest}
9797
>
9898
<use href={`#icon-${name}`} />
9999
</svg>
100100
);
101-
};
101+
};

0 commit comments

Comments
 (0)