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

    Properties

    className?: string

    Additional CSS classes

    code: string

    The code content to display

    copyable?: boolean

    Whether to show a copy button

    true
    
    language?: string

    The programming language for syntax highlighting

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

    Whether to show line numbers

    false
    
    testId?: string

    Test ID for testing