Represents the properties for the SearchInput component.

interface ISearchInputProps {
    autoComplete: TextFieldProps;
    getValue: () => string;
    loading: boolean;
    mode:
        | "search"
        | "text"
        | "email"
        | "tel"
        | "url"
        | "none"
        | "numeric"
        | "decimal";
    onTextChange: (value: string) => void;
    pattern: undefined | string;
    placeholder?: string;
    reloadSubject: TSubject<void>;
    type:
        | "number"
        | "search"
        | "text"
        | "date"
        | "email"
        | "tel"
        | "time"
        | "url"
        | "week";
}

Properties

autoComplete: TextFieldProps
getValue: () => string
loading: boolean
mode:
    | "search"
    | "text"
    | "email"
    | "tel"
    | "url"
    | "none"
    | "numeric"
    | "decimal"
onTextChange: (value: string) => void
pattern: undefined | string
placeholder?: string
reloadSubject: TSubject<void>
type:
    | "number"
    | "search"
    | "text"
    | "date"
    | "email"
    | "tel"
    | "time"
    | "url"
    | "week"