From 57588fa80ce58791d499a83f1275787bf44aacbd Mon Sep 17 00:00:00 2001 From: mahdi andalib Date: Mon, 14 Mar 2022 19:22:17 +0330 Subject: [PATCH] update --- src/components/FolderTree/images/icon1.svg | 10 ++++++++++ src/components/FolderTree/images/opened.svg | 10 ++++++++++ src/components/FolderTree/index.js | 7 +++++-- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 src/components/FolderTree/images/icon1.svg create mode 100644 src/components/FolderTree/images/opened.svg diff --git a/src/components/FolderTree/images/icon1.svg b/src/components/FolderTree/images/icon1.svg new file mode 100644 index 0000000..23ad93e --- /dev/null +++ b/src/components/FolderTree/images/icon1.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/components/FolderTree/images/opened.svg b/src/components/FolderTree/images/opened.svg new file mode 100644 index 0000000..fe95e63 --- /dev/null +++ b/src/components/FolderTree/images/opened.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/components/FolderTree/index.js b/src/components/FolderTree/index.js index 9345336..0534b6d 100644 --- a/src/components/FolderTree/index.js +++ b/src/components/FolderTree/index.js @@ -6,6 +6,9 @@ import selectedFolder from "./images/selectedFolder.svg"; import arrow from "./images/arrow.svg"; import selectedArrow from "./images/selectedArrow.svg"; +import icon1 from "./images/icon1.svg"; +import opened from "./images/opened.svg"; + const FolderState = ({ items }) => { let [selected, setSelected] = useState(1); let [top, setTop] = useState(1); @@ -63,8 +66,8 @@ const FolderTree = ({ items, pid, selected, setSelected, setTop }) => { />