diff --git a/src/components/icons/Gift/Gift.tsx b/src/components/icons/Gift/Gift.tsx new file mode 100644 index 0000000..b69655f --- /dev/null +++ b/src/components/icons/Gift/Gift.tsx @@ -0,0 +1,21 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; +import { IconGift24 } from './Gift24'; +import { IconGift32 } from './Gift32'; +import { IconGift16 } from './Gift16'; + +export const IconGift: FC = ({ + size = 16, + color = 'currentColor', +}) => { + switch (size.toString()) { + case '16': + return ; + case '24': + return ; + case '32': + return ; + default: + return ; + } +}; diff --git a/src/components/icons/Gift/Gift16.tsx b/src/components/icons/Gift/Gift16.tsx new file mode 100644 index 0000000..014676e --- /dev/null +++ b/src/components/icons/Gift/Gift16.tsx @@ -0,0 +1,50 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconGift16: FC = ({ color = 'currentColor' }) => ( + + + + + + + + + + + + + + +); diff --git a/src/components/icons/Gift/Gift24.tsx b/src/components/icons/Gift/Gift24.tsx new file mode 100644 index 0000000..d18c24d --- /dev/null +++ b/src/components/icons/Gift/Gift24.tsx @@ -0,0 +1,48 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconGift24: FC = ({ color = 'currentColor' }) => ( + + + + + + + +); diff --git a/src/components/icons/Gift/Gift32.tsx b/src/components/icons/Gift/Gift32.tsx new file mode 100644 index 0000000..6276759 --- /dev/null +++ b/src/components/icons/Gift/Gift32.tsx @@ -0,0 +1,51 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconGift32: FC = ({ + size = 32, + color = 'currentColor', +}) => ( + + + + + + + +); diff --git a/src/components/icons/index.tsx b/src/components/icons/index.tsx index 333d62d..14899e1 100644 --- a/src/components/icons/index.tsx +++ b/src/components/icons/index.tsx @@ -221,6 +221,10 @@ export * from './Forward/Forward32'; export * from './Fund/Fund'; export * from './Fund/Fund24'; export * from './Fund/Fund32'; +export * from './Gift/Gift'; +export * from './Gift/Gift16'; +export * from './Gift/Gift24'; +export * from './Gift/Gift32'; export * from './GasStation/GasStation'; export * from './GasStation/GasStation16'; export * from './GasStation/GasStation24'; diff --git a/src/stories/icons/IconGift.stories.tsx b/src/stories/icons/IconGift.stories.tsx new file mode 100644 index 0000000..233f25e --- /dev/null +++ b/src/stories/icons/IconGift.stories.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +import { ComponentStory, ComponentMeta } from '@storybook/react'; +import { IconGift } from '../../components'; + +export default { + title: 'Example/Icons/Gift', + component: IconGift, +} as ComponentMeta; + +const Template: ComponentStory = args => ( + +); + +export const ArrowLeft = Template.bind({}); +ArrowLeft.storyName = 'Gift'; +ArrowLeft.args = { + color: 'white', + size: 32, +};