fumadocs-ui
Version:
The Radix UI version of Fumadocs UI
37 lines (36 loc) • 1.18 kB
TypeScript
import { PageBreadcrumb, PageLastUpdate } from "./layouts/docs/page/client.js";
import { DocsBody, DocsDescription, DocsPageProps as DocsPageProps$1, DocsTitle, EditOnGitHub } from "./layouts/docs/page/index.js";
import * as react_jsx_runtime15 from "react/jsx-runtime";
import { ComponentProps } from "react";
//#region src/page.d.ts
interface EditOnGitHubOptions extends Omit<ComponentProps<'a'>, 'href' | 'children'> {
owner: string;
repo: string;
/**
* SHA or ref (branch or tag) name.
*
* @defaultValue main
*/
sha?: string;
/**
* File path in the repo
*/
path: string;
}
interface DocsPageProps extends DocsPageProps$1 {
editOnGithub?: EditOnGitHubOptions;
lastUpdate?: Date | string | number;
}
/**
* For separate MDX page
*/
declare function withArticle(props: ComponentProps<'main'>): react_jsx_runtime15.JSX.Element;
declare function DocsPage({
lastUpdate,
editOnGithub,
children,
...props
}: DocsPageProps): react_jsx_runtime15.JSX.Element;
//#endregion
export { DocsBody, DocsDescription, DocsPage, DocsPageProps, DocsTitle, EditOnGitHub, PageBreadcrumb, PageLastUpdate, withArticle };
//# sourceMappingURL=page.d.ts.map