Skip to content

Commit

Permalink
added missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
bearni95 authored and Ghislain89 committed Aug 11, 2023
1 parent 9aeecc9 commit e85f404
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/libs/react-ui/src/components/Link/LinkIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { SystemIcon } from '@components/Icon';
import React, { FC } from 'react';

type IconProps = JSX.IntrinsicElements['i'];
export interface ILinkIconProps extends IconProps {
icon: (typeof SystemIcon)[keyof typeof SystemIcon];
}

export const LinkIcon: FC<ILinkIconProps> = ({ icon, className }) => {
const Icon = icon;
return <Icon size="md" className={className} />;
};

0 comments on commit e85f404

Please sign in to comment.