How to create tabs with an active class in React using functional components

后端 未结 0 1417
走了就别回头了
走了就别回头了 2021-01-01 00:05

I\'m trying to make the Header component in my app show which page is being rendered by adding an "active" class to it when the user clicks on it. This seems like

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