From 185d8132836dcc3cd867183aad2651ccbb960984 Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 29 Aug 2023 20:46:43 +0330 Subject: [PATCH 1/6] fix: add IconGift --- src/components/icons/Gift/Gift.tsx | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/components/icons/Gift/Gift.tsx 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 ; + } +}; From a34fc72460c12745ac83ff3198547b13edae4ddf Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 29 Aug 2023 20:47:07 +0330 Subject: [PATCH 2/6] fix: add IconGift16 --- src/components/icons/Gift/Gift16.tsx | 50 ++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 src/components/icons/Gift/Gift16.tsx 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' }) => ( + + + + + + + + + + + + + + +); From b29732656a5a5b713af5b0f5f5fcf62c2cbd7e20 Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 29 Aug 2023 20:47:16 +0330 Subject: [PATCH 3/6] fix: add IconGift24 --- src/components/icons/Gift/Gift24.tsx | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/components/icons/Gift/Gift24.tsx 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' }) => ( + + + + + + + +); From 26bdc32d4d5f0058622170f4dc6f9db76af9e92e Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 29 Aug 2023 20:47:25 +0330 Subject: [PATCH 4/6] fix: add IconGift32 --- src/components/icons/Gift/Gift32.tsx | 51 ++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/components/icons/Gift/Gift32.tsx 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', +}) => ( + + + + + + + +); From bfb4cbc94865ba8d3f7eb61a5da6d83b0d886553 Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 29 Aug 2023 20:47:43 +0330 Subject: [PATCH 5/6] fix: add IconGift stories --- src/stories/icons/IconGift.stories.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/stories/icons/IconGift.stories.tsx 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, +}; From 7367f76b30645dc0e6565731975abcabfae5e140 Mon Sep 17 00:00:00 2001 From: Ramin Date: Tue, 29 Aug 2023 20:47:59 +0330 Subject: [PATCH 6/6] fix: add IconGift exports --- src/components/icons/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) 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';