diff --git a/src/iconList.tsx b/src/iconList.tsx index 2d1d72e..d437a5d 100644 --- a/src/iconList.tsx +++ b/src/iconList.tsx @@ -114,6 +114,7 @@ export const iconList = [ 'YoutubeIcon', 'VSCodeIcon', 'LinkedinIcon', + 'XIcon', ] }, { diff --git a/src/icons/XIcon.stories.ts b/src/icons/XIcon.stories.ts new file mode 100644 index 0000000..a521d27 --- /dev/null +++ b/src/icons/XIcon.stories.ts @@ -0,0 +1,12 @@ +import type { Meta, StoryObj } from '@storybook/react'; + +import { XIcon } from './XIcon'; + +const meta: Meta = { + component: XIcon, +}; + +export default meta; +type Story = StoryObj; + +export const Default: Story = { args: { size: 100 } }; diff --git a/src/icons/XIcon.tsx b/src/icons/XIcon.tsx new file mode 100644 index 0000000..1183208 --- /dev/null +++ b/src/icons/XIcon.tsx @@ -0,0 +1,23 @@ +import * as React from 'react'; +import { IconProps } from '../types'; + +export const XIcon = /* @__PURE__ */ React.forwardRef( + ({ color = 'currentColor', size = 14, ...props }, forwardedRef) => { + return ( + + + + ); + } +); diff --git a/src/index.ts b/src/index.ts index ba97ac8..8e8310e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -87,6 +87,7 @@ export { TwitterIcon } from './icons/TwitterIcon'; export { YoutubeIcon } from './icons/YoutubeIcon'; export { VSCodeIcon } from './icons/VSCodeIcon'; export { LinkedinIcon } from './icons/LinkedinIcon'; +export { XIcon } from './icons/XIcon'; export { BrowserIcon } from './icons/BrowserIcon'; export { TabletIcon } from './icons/TabletIcon'; export { MobileIcon } from './icons/MobileIcon';