react typescript reference function from parent to the child

后端 未结 0 1190
盖世英雄少女心
盖世英雄少女心 2020-11-28 04:38

I want to pass two events function from parent to a child component. Basically the event functions needs to send as props.handlers to the child

I defined to interface

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