Interface TextAreaProps

interface TextAreaProps {
    attributes?: Record<string, string>;
    autoFocus?: boolean;
    classNames?: string[];
    description?: ExtendedHTMLElement;
    fireModifierAndEnterKeyPress?: (() => void);
    label?: string | ExtendedHTMLElement | HTMLElement;
    mandatory?: boolean;
    onChange?: ((value) => void);
    onKeyPress?: ((event) => void);
    placeholder?: string;
    testId?: string;
    validationPatterns?: {
        operator?: "and" | "or";
        patterns: ValidationPattern[];
    };
    value?: string;
}

Properties

attributes?: Record<string, string>
autoFocus?: boolean
classNames?: string[]
description?: ExtendedHTMLElement
fireModifierAndEnterKeyPress?: (() => void)

Type declaration

    • (): void
    • Returns void

label?: string | ExtendedHTMLElement | HTMLElement
mandatory?: boolean
onChange?: ((value) => void)

Type declaration

    • (value): void
    • Parameters

      • value: string

      Returns void

onKeyPress?: ((event) => void)

Type declaration

    • (event): void
    • Parameters

      • event: KeyboardEvent

      Returns void

placeholder?: string
testId?: string
validationPatterns?: {
    operator?: "and" | "or";
    patterns: ValidationPattern[];
}

Type declaration

value?: string