UNPKG

bigblocks

Version:

Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React

49 lines 1.28 kB
export interface CodeBlockProps { /** * The programming language for syntax highlighting */ language?: string; /** * The code content to display */ code: string; /** * Whether to show the copy button (default: true) */ showCopy?: boolean; /** * Optional title for the code block */ title?: string; /** * Optional filename to display */ filename?: string; /** * Whether to show line numbers (default: false) */ showLineNumbers?: boolean; /** * Line numbers to highlight */ highlightLines?: number[]; /** * Whether to wrap in terminal window design (default: false) */ terminal?: boolean; /** * Theme variant */ variant?: "default" | "ghost" | "outline"; /** * Component size */ size?: "sm" | "default" | "lg"; /** * Theme for syntax highlighting */ theme?: "github-dark" | "github-light" | "nord" | "dracula"; } export declare function CodeBlock({ language, code, showCopy, title, filename, showLineNumbers, highlightLines, terminal, variant, size, theme, }: CodeBlockProps): import("react/jsx-runtime").JSX.Element; export default CodeBlock; //# sourceMappingURL=CodeBlock.d.ts.map