diff --git a/packages/components/src/components/Link/Link.tsx b/packages/components/src/components/Link/Link.tsx index 684abf29..6f6649b7 100644 --- a/packages/components/src/components/Link/Link.tsx +++ b/packages/components/src/components/Link/Link.tsx @@ -149,7 +149,7 @@ export const Link: FC = ({ lineHeight: 30, } - let _icon: IconProps | 'no icon' + let _icon: IconProps /** Function to massage Partial data into IconProps based on variant icon defaults */ const setIcon = (name?: IconProps['name']) => { @@ -268,7 +268,7 @@ export const Link: FC = ({ - {icon === 'no icon' ? null : } + {_icon.noIcon ? null : } {text}