MarkdownComponentsProvider
Unpublished development API. This package is under development and is not available as a published release.
Supplies MarkdownComponents to every Markdown below it, including the ones Chat and
MessageList render. A provider nested inside another adds to the outer one, type by type.
Keep components stable.
import { MarkdownComponentsProvider } from '@threadplane/react/markdown';Declaration · overload 1
export declare function MarkdownComponentsProvider(input: {
readonly components: MarkdownComponents;
readonly children?: ReactNode;
}): import("react/jsx-runtime").JSX.Element;Parameters
{ components, children, }· requiredinput· required{ readonly components: MarkdownComponents; readonly children?: ReactNode; }
Returns
import("react/jsx-runtime").JSX.Element