How to add a prop from a functional component into a class component?

后端 未结 0 1229
执念已碎
执念已碎 2020-12-29 23:15

I have a prop "language" that comes from my LanguageFlag component that inserts a SVG icon depending on the language (shown below). In a normal functional componen

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