cosmo-ui
Version:
Common React components
15 lines (13 loc) • 487 B
text/typescript
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> { }