@@ -3,6 +3,7 @@ import { HiOutlineChevronLeft } from "@react-icons/all-files/hi/HiOutlineChevron
33import { Link } from "gatsby" ;
44import { IoMdClose } from "@react-icons/all-files/io/IoMdClose" ;
55import { IoIosArrowDropdownCircle } from "@react-icons/all-files/io/IoIosArrowDropdownCircle" ;
6+ import { IoIosArrowForward } from "@react-icons/all-files/io/IoIosArrowForward" ;
67import { componentsData } from "../../sections/Projects/Sistent/components/content" ;
78
89import TOCWrapper from "./toc.style" ;
@@ -35,14 +36,14 @@ const TOC = () => {
3536 </ Link >
3637 < div className = "toc-toggle-btn" >
3738 { expand ? (
38- < IoMdClose
39+ < IoIosArrowDown
3940 className = "toc-menu-icon"
4041 onClick = { function ( ) {
4142 setExpand ( ! expand ) ;
4243 } }
4344 />
4445 ) : (
45- < IoIosArrowDropdownCircle
46+ < IoIosArrowForward
4647 className = "toc-menu-icon"
4748 onClick = { function ( ) {
4849 setExpand ( ! expand ) ;
@@ -69,7 +70,10 @@ const TOC = () => {
6970 onClick = { ( ) => setExpandIdentity ( ( prev ) => ! prev ) }
7071 >
7172 Identity
72- { expandIdenity ? < IoIosArrowUp /> : < IoIosArrowDown /> }
73+ { expandIdenity ?
74+ < IoIosArrowDown style = { { zIndex : 2 } } /> :
75+ < IoIosArrowForward style = { { zIndex : 2 } } />
76+ }
7377 </ li >
7478 { expandIdenity && (
7579 < div className = "identity-sublinks" >
@@ -129,7 +133,10 @@ const TOC = () => {
129133 onClick = { ( ) => setExpandComponent ( ( prev ) => ! prev ) }
130134 >
131135 Components
132- { expandComponent ? < IoIosArrowUp /> : < IoIosArrowDown /> }
136+ { expandComponent ?
137+ < IoIosArrowDown style = { { zIndex : 2 } } /> :
138+ < IoIosArrowForward style = { { zIndex : 2 } } />
139+ }
133140 </ li >
134141 { expandComponent && (
135142 < div className = "components-sublinks" >
0 commit comments