Guaxu Docs
    Preparing search index...

    Type Alias TextInputProps

    type TextInputProps = {
        description?: string;
        errorMessage?: string;
        isDisabled?: boolean;
        isInvalid?: boolean;
        isRequired?: boolean;
        label?: string;
        labelDescription?: string;
        onBlur?: (
            e: FocusEvent<HTMLInputElement | HTMLTextAreaElement, Element>,
        ) => void;
        onChange: (
            e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
        ) => void;
        placeholder?: string;
        rows?: number;
        type?: "text" | "search" | "url" | "tel" | "email" | "password";
        value: string;
    }
    Index

    Properties

    description?: string
    errorMessage?: string
    isDisabled?: boolean
    isInvalid?: boolean
    isRequired?: boolean
    label?: string
    labelDescription?: string
    onBlur?: (
        e: FocusEvent<HTMLInputElement | HTMLTextAreaElement, Element>,
    ) => void
    onChange: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void
    placeholder?: string
    rows?: number
    type?: "text" | "search" | "url" | "tel" | "email" | "password"
    value: string