UNPKG

@lobehub/ui

Version:

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

19 lines (18 loc) 632 B
import { ReactNode } from 'react'; import type { Pluggable } from 'unified'; import { type TypographyProps } from "../../Markdown/Typography"; export 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: import("react").NamedExoticComponent<MdxProps>; export default Mdx;