UNPKG

@lobehub/ui

Version:

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

19 lines (18 loc) 513 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 { animated?: boolean; children: any; enableMermaid?: boolean; fullFeatured?: boolean; highlight?: HighlighterProps; mermaid?: MermaidProps; } export declare const CodeBlock: FC<CodeBlockProps>; export {};