import React, { AllHTMLAttributes } from 'react'; // @ts-ignore import styles from './SearchField.less'; type InputProps = AllHTMLAttributes; interface Props { value: NonNullable; onChange: NonNullable; placeholder?: NonNullable; onBlur?: InputProps['onBlur']; onKeyUp?: InputProps['onKeyUp']; onKeyDown?: InputProps['onKeyDown']; ['data-testid']?: string; } export default ({ value, placeholder, onChange, onBlur, onKeyUp, onKeyDown, 'data-testid': dataTestId, }: Props) => ( );