1.1.3 • Published 5 years ago
mobile-search-input v1.1.3
export interface ISearchInputProps {
status?: 'non-active' | 'active' | 'with-value',
placeholder: string,
cancelText: string,
style?: CSSProperties,
onChange?: (event: {target: {value: string}}) => void,
onClick?: (event?: {}) => void,
onClose?: (event?: {}) => void,
onFocus?: (event: {}) => void,
onBlur?: (event: {}) => void,
onCancel?: (event?: {}) => void,
onSearch?: (event?: {}) => void
}
export interface ISearchInputState {
inputStatus: string,
inputValue: string
}