CIA Compliance Manager — API Documentation - v1.1.50
    Preparing search index...
    interface CodeBlockProps {
        code: string;
        language?: string;
        showLineNumbers?: boolean;
        copyable?: boolean;
        className?: string;
        testId?: string;
    }
    Index

    Properties

    code: string

    The code content to display

    language?: string

    The programming language for syntax highlighting

    "typescript", "javascript", "python", "bash"
    
    showLineNumbers?: boolean

    Whether to show line numbers

    false
    
    copyable?: boolean

    Whether to show a copy button

    true
    
    className?: string

    Additional CSS classes

    testId?: string

    Test ID for testing