Pass down function with multiple parameters to child component w/ TypeScript

前端 未结 0 739
渐次进展
渐次进展 2020-12-16 07:05

I\'m trying to pass a function as a prop to a child component in React but TypeScript is giving me errors. I have a function as such:

const submitData = (titl         


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