How to conditionally apply style color to an active tab

后端 未结 0 738
误落风尘
误落风尘 2020-12-12 17:43

I have a tab that show contents base on the tab clicked, How do I conditionally add a background color to the active tab, here is my code

const [active, setAc         


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