Closed iim-norse closed 2 years ago
I have an intelligent solution for you issue:
const [ myValue1, setMyValue1 ] = useState('');
const ref = useBlurOnFulfill({value:myValue1, cellCount: CELL_COUNT});
const [props, getCellOnLayoutHandler] = useClearByFocusCell({
value: myValue1,
setValue: setMyValue1,
});
TypeError: setValue is not a function. (In 'setValue(text)', 'setValue' is undefined)
when I use variables different from this:
const [ value, setValue ] = useState('');
for example if you tryconst [ value1, setValue1 ] = useState('');
get this error