From 5528e94394e2da2741c1443c45d9df249b0b8210 Mon Sep 17 00:00:00 2001 From: VividTruthKeeper Date: Mon, 19 Sep 2022 14:35:37 +0500 Subject: [PATCH] icon color --- src/components/Nav.tsx | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index 08a5882..8c11c6b 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -2,6 +2,7 @@ import { useContext, useState } from "react"; import { UserContext } from "../context/UserContext"; import { Link } from "react-router-dom"; +import { IconContext } from "react-icons"; // Icons import { ImStatsDots } from "react-icons/im"; @@ -31,13 +32,17 @@ const Nav = ({ aside, setAside }: Props) => { localStorage.setItem("lastLocation", "/dashboard"); }} > - + + + - setAside(!aside)} - /> + + setAside(!aside)} + /> +
{ setDropdown(!dropdown); }} > - + + + + Profile