const DebounceInput = (props) => { const { onChange } = props;
const debounceChange = debounce(onChange, 1000)
const handleChange = (e) => { debounceChange(e.target.value) }
return <Input {...props} onChange={handleChange} /> }
export default DebounceInput;