'use client' import type { FC } from 'react' import React from 'react' import cn from 'classnames' import { MagnifyingGlassIcon, } from '@heroicons/react/24/solid' import { useTranslation } from 'react-i18next' type Props = { className?: string value: string onChange: (v: string) => void } const Search: FC = ({ className, value, onChange, }) => { const { t } = useTranslation() return (
{ onChange(e.target.value) }} />
) } export default React.memo(Search)