UNPKG

@lobehub/ui

Version:

Lobe UI is an open-source UI component library for building AIGC web apps

24 lines (23 loc) 741 B
import { TypographyProps } from "../../Markdown/type.mjs"; import "../../Markdown/index.mjs"; import * as react37 from "react"; import { ReactNode } from "react"; import { Pluggable } from "unified"; //#region src/mdx/Mdx/index.d.ts interface MdxProps extends Omit<TypographyProps, 'children'> { children: string; components?: any[]; enableImageGallery?: boolean; enableLatex?: boolean; enableMermaid?: boolean; fallback?: ReactNode; fullFeaturedCodeBlock?: boolean; onDoubleClick?: () => void; rehypePlugins?: Pluggable[]; remarkPlugins?: Pluggable[]; variant?: 'normal' | 'chat'; } declare const Mdx: react37.NamedExoticComponent<MdxProps>; //#endregion export { Mdx, MdxProps }; //# sourceMappingURL=index.d.mts.map