Navigation
Server OnlyRenders a navigation tree from createSource
or mergeSources
.
API Reference
Navigation
View Sourcesource *
ReturnType<typeof createSource> | ReturnType<typeof mergeSources>
A collection of sources returned from createSource
or mergeSources
.
renderList *
(list: { children: JSX.Element[]; depth: number }) => JSX.Element
A function that renders a list of navigation items.
renderItem *
(item: SourceTreeItem & { children?: JSX.Element }) => JSX.Element
A function that renders a navigation item.