import styles from './SearchField.module.scss' import { Icon } from './Icon' import { t } from '../../utils/intl' import { clsx } from 'clsx' type SearchFieldProps = { onChange: (value: string) => void class?: string } export const SearchField = (props: SearchFieldProps) => { const handleInputChange = (event) => props.onChange(event.target.value.trim()) return (