From f00bc776cfe6ff4e771fe49fc7d51de2956b35b8 Mon Sep 17 00:00:00 2001 From: alireza-sharifpour Date: Tue, 19 Jul 2022 15:44:56 +0430 Subject: [PATCH] fix: add Dots icon --- package.json | 2 +- src/components/icons/Dots/Dots.tsx | 21 ++++++++++++++++ src/components/icons/Dots/Dots16.tsx | 34 +++++++++++++++++++++++++ src/components/icons/Dots/Dots24.tsx | 37 ++++++++++++++++++++++++++++ src/components/icons/Dots/Dots32.tsx | 37 ++++++++++++++++++++++++++++ src/components/index.ts | 5 ++++ 6 files changed, 135 insertions(+), 1 deletion(-) create mode 100644 src/components/icons/Dots/Dots.tsx create mode 100644 src/components/icons/Dots/Dots16.tsx create mode 100644 src/components/icons/Dots/Dots24.tsx create mode 100644 src/components/icons/Dots/Dots32.tsx diff --git a/package.json b/package.json index 346f645..193f17b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@giveth/ui-design-system", - "version": "1.8.10", + "version": "1.8.12", "files": [ "/lib" ], diff --git a/src/components/icons/Dots/Dots.tsx b/src/components/icons/Dots/Dots.tsx new file mode 100644 index 0000000..d917686 --- /dev/null +++ b/src/components/icons/Dots/Dots.tsx @@ -0,0 +1,21 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; +import { IconDots16 } from './Dots16'; +import { IconDots24 } from './Dots24'; +import { IconDots32 } from './Dots32'; + +export const IconDots: 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/Dots/Dots16.tsx b/src/components/icons/Dots/Dots16.tsx new file mode 100644 index 0000000..e76548e --- /dev/null +++ b/src/components/icons/Dots/Dots16.tsx @@ -0,0 +1,34 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconDots16: FC = ({ + size = 16, + color = 'currentColor', +}) => ( + + + + + +); diff --git a/src/components/icons/Dots/Dots24.tsx b/src/components/icons/Dots/Dots24.tsx new file mode 100644 index 0000000..49fcec5 --- /dev/null +++ b/src/components/icons/Dots/Dots24.tsx @@ -0,0 +1,37 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconDots24: FC = ({ + size = 24, + color = 'currentColor', +}) => ( + + + + + +); diff --git a/src/components/icons/Dots/Dots32.tsx b/src/components/icons/Dots/Dots32.tsx new file mode 100644 index 0000000..a0a7a1a --- /dev/null +++ b/src/components/icons/Dots/Dots32.tsx @@ -0,0 +1,37 @@ +import React, { FC } from 'react'; +import { IIconProps } from '../type'; + +export const IconDots32: FC = ({ + size = 32, + color = 'currentColor', +}) => ( + + + + + +); diff --git a/src/components/index.ts b/src/components/index.ts index 6909526..c123747 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -96,6 +96,11 @@ export * from './icons/Options/Options16'; export * from './icons/Options/Options24'; export * from './icons/Options/Options32'; +export * from './icons/Dots/Dots'; +export * from './icons/Dots/Dots16'; +export * from './icons/Dots/Dots24'; +export * from './icons/Dots/Dots32'; + export * from './icons/arrowCircles/ArrowCircleBottom'; export * from './icons/arrowCircles/ArrowCircleLeft'; export * from './icons/arrowCircles/ArrowCircleRight';