Home > @uniformdev/design-system > InputProps

InputProps type

Signature:

type InputProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
    label?: string | React$1.ReactNode;
    caption?: string | JSX.Element;
    icon?: React$1.ReactElement;
    showLabel?: boolean;
    errorMessage?: string;
    warningMessage?: string;
    containerTestId?: string;
    labelTestId?: string;
    errorTestId?: string;
    captionTestId?: string;
    classNameRoot?: string | SerializedStyles;
    classNameContainer?: string | SerializedStyles;
    classNameControl?: string | SerializedStyles;
    classNameLabel?: string | SerializedStyles;
};