From 7cb8aa0b4a1a28f0b6a4068be2cd328a228742ac Mon Sep 17 00:00:00 2001 From: "Tindo N. Arsel" Date: Sat, 1 Apr 2023 04:28:29 +0100 Subject: [PATCH] update new folder icon (#177) --- src/assets/icons/NewFolderIcon.tsx | 23 +++++++++++++++++++++++ src/components/Menu/NewFolder.tsx | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 src/assets/icons/NewFolderIcon.tsx diff --git a/src/assets/icons/NewFolderIcon.tsx b/src/assets/icons/NewFolderIcon.tsx new file mode 100644 index 0000000..8729dc3 --- /dev/null +++ b/src/assets/icons/NewFolderIcon.tsx @@ -0,0 +1,23 @@ +import React from 'react'; + +const NewFolderIcon = ({ className }: { className?: string }) => { + return ( + + + + + ); +}; + +export default NewFolderIcon; diff --git a/src/components/Menu/NewFolder.tsx b/src/components/Menu/NewFolder.tsx index 65ab7d6..2145200 100644 --- a/src/components/Menu/NewFolder.tsx +++ b/src/components/Menu/NewFolder.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { useTranslation } from 'react-i18next'; import useStore from '@store/store'; -import PlusIcon from '@icon/PlusIcon'; +import NewFolderIcon from '@icon/NewFolderIcon'; const NewFolder = () => { const { t } = useTranslation(); @@ -38,7 +38,7 @@ const NewFolder = () => { if (!generating) addFolder(); }} > - {' '} + {' '} {t('newFolder')}