TypeScript not accepting React.Dispatch> for a setState function that is passed as a parameter

前端 未结 0 1451
北海茫月
北海茫月 2021-01-20 21:46

I have an input component in my main app that has a state set up as:

> const [value, setValue] = useState(\'\');

It gets passed down as pr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题