import React from 'react'; import { InputProps } from '../Input'; import { TextFieldProps } from '../TextField/TextField'; import { Props as SearchBarStyleProps } from './SearchBarStyle'; export interface SearchBarProps extends TextFieldProps, SearchBarStyleProps { label?: string; inputProps?: InputProps; /** * @deprecated, use onChange in combo with onClear instead * @param value */ onWatchValue?: (value: string) => void; /** * @deprecated, wrap this component inside a