UNPKG

fumadocs-ui

Version:

The Radix UI version of Fumadocs UI

19 lines 737 B
import { TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js"; import { ComponentProps, ReactNode } from "react"; //#region src/layouts/glass/page/slots/toc.d.ts type TOCProviderProps = TOCProviderProps$1; declare function TOCProvider(props: TOCProviderProps): import("react").JSX.Element; interface TOCProps { container?: ComponentProps<'div'>; /** * Custom content in TOC container, before the main TOC */ header?: ReactNode; /** * Custom content in TOC container, after the main TOC */ footer?: ReactNode; } declare function TOC({ container, header, footer }: TOCProps): import("react").JSX.Element | undefined; //#endregion export { TOC, TOCProps, TOCProvider, TOCProviderProps };