I have a Navbar and i am using the condition that if userstatus is true(i.e user is signedin) then it will show the user-icon otherwise signin, i am looking to achieve that when i click in the user-icon or singin, it will show the drop down menu where i will later use it for logout button. i am struggling to find how will i achieve this, i can see at https://react-bootstrap.github.io/components/dropdowns/ that i can implement but here i want to use my own icon(glyphicon glyphicon-user) rather the rectangle box.
- I am looking to achieve the below but instead of
Dropdown buttoni am looking to use theuser-icon
any suggestion/pointers please.
-Snippet of code
<li>
<a className="active" href="/signin">
{userstatus ? (
<a
className=" signin-icon glyphicon glyphicon-user
"
></a>
) : (
<a>SIGNIN</a>
)}
</a>
</li>

