How to pass refs to React.cloneElement & React.createElement in class based component?

后端 未结 0 1275
死守一世寂寞
死守一世寂寞 2021-01-21 20:17

I need to pass refs from a class based component using \'createRef()\' to React.cloneElement and React.createElement.

This component is used in a component library which

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