How to change behavior of component depending on component that wrapped it?

后端 未结 0 1661
孤城傲影
孤城傲影 2021-01-14 19:22

Is there exist way to change inner component based on props of outer component? It possible to do using React.createElement and overriding props for children. B

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