export interface InputProps {
    /**
     * The type, defaults to text
     */
    type?: string;
    /**
     * The placeholder text for the input
     */
    placeholder?: string;
    /**
     * The name of the input
     */
    isErrored?: boolean;
    /**
     * An optional string to explain the error
     */
    errorText?: string;
    /**
     * The name of the input
     */
    name: string;
    /**
     * The max length attribute
     */
    maxLength?: number;
    /**
     * Optional default value.
     * Don't set both defaultValue and value.
     */
    defaultValue?: string | number;
    /**
     * An optional function to be called on change
     */
    onChange?: React.ReactNode | ((e: any) => void);
    /**
     * The optional input id
     */
    id?: string;
    /**
     * The optional value for a controlled component.
     * Don't set both defaultValue and value.
     */
    value?: string | number;
    /**
     * An optional autocomplete attribute
     */
    autocomplete?: string;
    /**
     * Is the input full width. Defaults to false
     */
    isFullWidth?: boolean;
    /**
     * The min value for the input component (if appropriate)
     */
    minValue?: string | number;
}
