UNPKG

@lobehub/ui

Version:

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

19 lines (18 loc) 551 B
/// <reference types="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: import("react").NamedExoticComponent<CodeBlockProps>; export {};