UNPKG

@lobehub/ui

Version:

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

19 lines (18 loc) 541 B
import { FC } from 'react'; import { type HighlighterProps } from "../Highlighter"; import { type MermaidProps } from "../Mermaid"; export declare const useCode: (raw: any) => { content: any; isSingleLine: boolean; lang: any; } | undefined; interface CodeBlockProps { children: any; enableMermaid?: boolean; fullFeatured?: boolean; highlight?: HighlighterProps; mermaid?: MermaidProps; } export declare const CodeLite: FC<CodeBlockProps>; export declare const CodeFullFeatured: FC<CodeBlockProps>; export {};