Add type for onClick property which is in …props in React TypeScript

后端 未结 0 619
忘掉有多难
忘掉有多难 2021-02-06 12:23

I have a button component in which I\'m trying to write the prop types using type and I see this error in the console. Could anyone please help?

Type         


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