-
-
Notifications
You must be signed in to change notification settings - Fork 474
-
how to intract with flowbite sidebar dynamically
?
because i noticed that the sidebarcontext is not exposed
return (
<Sidebar.Items>
<Sidebar.ItemGroup>
<Sidebar.Item href="#" icon={HiChartPie}>
Dashboard
</Sidebar.Item>
ExtensionSlot name="demo-sidebar-slot" element
</Sidebar.ItemGroup>
</Sidebar.Items>
);
here ExtensionSlot , returns Sidebar item element dynamically. It fails with message " fails with useSidebarContext should be used within the SidebarContext provider!, ".
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment