How do I toggle on a view more for one component and toggle off the others onClick in React?

前端 未结 0 703
Happy的楠姐
Happy的楠姐 2021-01-15 06:10

I am using a React functional component with ternary to toggle a show more feature. I would additionally like the following logic: if one of the toggles is true (showing mo

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