Pass function as prop and then pass it as argument to function in ReactJs using functional component

前端 未结 0 1420
滥情空心
滥情空心 2021-01-06 02:06

I am trying to pass function as prop to child comp and then pass it as argument to function in the child component without any luck. I want to set the some value by calling

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