Skip to content

Navbar Navbutton issue #2

@prashant5025

Description

@prashant5025

After clicking Navitems should show a popup, but only the user profile is showing a popup and other icons don't show any popup the issue may be with customFunc related.
`const NavButton = ({ title, customFunc, icon, color, dotColor }) => (

<button
type="button"
onClick={() => customFunc()}
style={{ color }}
className="relative text-xl rounded-full p-3 hover:bg-light-gray"
>
<span
style={{ background: dotColor }}
className="absolute inline-flex rounded-full h-2 w-2 right-2 top-2"
/>
{icon}


);

<NavButton
title="Menu"
customFunc={handleActiveMenu}
color="blue"
icon={}
/>

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions