import * as React from 'react'; import type { RecoilState } from 'recoil'; import { useTextInut } from 'src/hooks/useTextInput'; import s from './TextFitler.module.scss'; export function TextFilter(props: { textAtom: RecoilState; placeholder?: string; }) { const [onChange, text] = useTextInut(props.textAtom); return ( ); }