UNPKG

@promptbook/browser

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

14 lines (13 loc) 467 B
type CodeBlockProps = { code: string; language?: string; className?: string; onCreateAgent?: (bookContent: string) => void; }; /** * Component to render a code block with syntax highlighting, copy, download, and create agent options. * * @private Internal utility of `<ChatMessage />` component */ export declare function CodeBlock({ code, language, className, onCreateAgent }: CodeBlockProps): import("react/jsx-runtime").JSX.Element; export {};