UNPKG

fumadocs-ui

Version:

The framework for building a documentation website in Next.js

7 lines 398 B
import type { PageTree } from 'fumadocs-core/server'; import type { Option } from '../components/layout/root-toggle.js'; export interface GetSidebarTabsOptions { transform?: (option: Option, node: PageTree.Folder) => Option | null; } export declare function getSidebarTabs(pageTree: PageTree.Root, { transform }?: GetSidebarTabsOptions): Option[]; //# sourceMappingURL=get-sidebar-tabs.d.ts.map