import { StylableComponent } from '.'
import { FormFieldProps, FormFieldComponentProps } from './form-field'

export interface TextSearchProps extends FormFieldProps<string> {
    isFocused: boolean
    loading: boolean
    dropdownOpen: boolean
    searchResults: any[]
    setSearch: (val: string) => any
    setSelected: (val: any) => any
    setFocus: (val: boolean) => any
}

export interface TextSearchComponentProps
    extends TextSearchProps, FormFieldComponentProps<string> { }