fumadocs-core
Version:
The React.js library for building a documentation website
23 lines (22 loc) • 865 B
TypeScript
import * as react3 from "react";
import { ReactNode } from "react";
import { Components } from "hast-util-to-jsx-runtime";
import { Compatible } from "vfile";
import { PluggableList } from "unified";
//#region src/content/index.d.ts
interface MarkdownProps {
components?: Components;
}
declare function Markdown({
children: content,
remarkPlugins,
rehypePlugins,
...options
}: MarkdownProps & {
remarkPlugins?: PluggableList;
rehypePlugins?: PluggableList;
children: Compatible;
}): Promise<react3.ReactElement<unknown, string | react3.JSXElementConstructor<any>> | Iterable<ReactNode> | (string | number | bigint | boolean | react3.ReactPortal | react3.ReactElement<unknown, string | react3.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined)>;
//#endregion
export { Markdown, MarkdownProps };
//# sourceMappingURL=index.d.ts.map