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')}