Passing class name down from one component to another in React

前端 未结 0 881
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 06:31

I have two files, header.js and toggle.js. I\'m trying to change the class name of one of the elements in the parent component.

How can I add the active

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