Pass a react hook 'useState' setter to a child component with typescript --setter only

后端 未结 0 1085
执念已碎
执念已碎 2021-01-13 16:46

I want to pass a setter hook setValuesList from the parent App.tsx to the child component Selector.tsx. I defined the hook in the pare

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