You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use case of a website that needs to display a deeply nested table of content (e.g. for an ebook) in a sidebar suggests to allow for the construction of arbitrarily deeply nested submenus. The sidebar component doesn't seem to support this feature: According to the shadn docs for sidebars the component SidebarMenuSub can be used to render a submenu within a sidebar as shown in the example:
This example suggests, however, that only SidebarMenuSubItem can be used as child components and not a regular SidebarMenuItem component. I conclude from this that it is not possible to construct arbitrarily deeply nested submenus? (Correct me if I am wrong)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
The use case of a website that needs to display a deeply nested table of content (e.g. for an ebook) in a sidebar suggests to allow for the construction of arbitrarily deeply nested submenus. The sidebar component doesn't seem to support this feature: According to the shadn docs for sidebars the component
SidebarMenuSub
can be used to render a submenu within a sidebar as shown in the example:This example suggests, however, that only
SidebarMenuSubItem
can be used as child components and not a regularSidebarMenuItem
component. I conclude from this that it is not possible to construct arbitrarily deeply nested submenus? (Correct me if I am wrong)Beta Was this translation helpful? Give feedback.
All reactions