Why can I not pass through a Child node in a component?

前端 未结 0 1347
情深已故
情深已故 2020-12-13 09:21

I\'m trying to use a component that renders the child conditionally; however, it seems like return children is invalid in React? At least according to Typescrip

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