React: passing Element or Component?

后端 未结 0 1887
慢半拍i
慢半拍i 2021-01-07 07:30

I am wondering what is the preference way to pass an Element or Component in React. The below is an example.

I am doing a component, need to pass sub component, and t

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