diff --git a/package.json b/package.json index 4956883..1dbe557 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@giveth/ui-design-system", - "version": "1.11.32", + "version": "1.11.33", "files": [ "/lib" ], diff --git a/src/components/icons/Warning/Warning.tsx b/src/components/icons/Warning/Warning.tsx index 6276678..455f043 100644 --- a/src/components/icons/Warning/Warning.tsx +++ b/src/components/icons/Warning/Warning.tsx @@ -3,6 +3,7 @@ import { IIconProps } from '../type'; import { IconWarning16 } from './Warning16'; import { IconWarning24 } from './Warning24'; import { IconWarning32 } from './Warning32'; +import { IconWarning64 } from './Warning64'; export const IconWarning: FC = ({ size = 16, @@ -15,6 +16,8 @@ export const IconWarning: FC = ({ return ; case '32': return ; + case '64': + return ; default: return ; } diff --git a/src/components/icons/Warning/Warning16.tsx b/src/components/icons/Warning/Warning16.tsx index 4b7e150..8c1382f 100644 --- a/src/components/icons/Warning/Warning16.tsx +++ b/src/components/icons/Warning/Warning16.tsx @@ -8,15 +8,15 @@ export const IconWarning16: FC = ({ ); diff --git a/src/components/icons/Warning/Warning24.tsx b/src/components/icons/Warning/Warning24.tsx index b6d600d..47b4c3d 100644 --- a/src/components/icons/Warning/Warning24.tsx +++ b/src/components/icons/Warning/Warning24.tsx @@ -8,15 +8,15 @@ export const IconWarning24: FC = ({ ); diff --git a/src/components/icons/Warning/Warning32.tsx b/src/components/icons/Warning/Warning32.tsx index 4bd7631..ebe796d 100644 --- a/src/components/icons/Warning/Warning32.tsx +++ b/src/components/icons/Warning/Warning32.tsx @@ -8,15 +8,15 @@ export const IconWarning32: FC = ({ ); diff --git a/src/components/icons/Warning/Warning64.tsx b/src/components/icons/Warning/Warning64.tsx new file mode 100644 index 0000000..0fb2c1f --- /dev/null +++ b/src/components/icons/Warning/Warning64.tsx @@ -0,0 +1,22 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconWarning64: FC = ({ + size = 64, + color = 'currentColor', +}) => ( + + + +); diff --git a/src/components/icons/index.tsx b/src/components/icons/index.tsx index d0d0827..51a307d 100644 --- a/src/components/icons/index.tsx +++ b/src/components/icons/index.tsx @@ -501,3 +501,4 @@ export * from './Warning/Warning'; export * from './Warning/Warning16'; export * from './Warning/Warning24'; export * from './Warning/Warning32'; +export * from './Warning/Warning64'; diff --git a/src/stories/icons/Warning/Warning64.stories.tsx b/src/stories/icons/Warning/Warning64.stories.tsx new file mode 100644 index 0000000..b9df03f --- /dev/null +++ b/src/stories/icons/Warning/Warning64.stories.tsx @@ -0,0 +1,19 @@ +import React from 'react'; +import { ComponentStory, ComponentMeta } from '@storybook/react'; + +import { IconWarning64 } from '../../../components/icons/Warning/Warning64'; + +export default { + title: 'Example/Icons/Warning/Warning64', + component: IconWarning64, +} as ComponentMeta; + +const Template: ComponentStory = args => ( + +); + +export const Warning64 = Template.bind({}); +Warning64.args = { + color: 'white', + size: 64, +};