How can I change the color of a child component when clicked?

后端 未结 0 695
灰色年华
灰色年华 2020-12-12 06:59

I have multiple \'Rectangle\' components in a \'Wall\' that should change color when clicked. The onClick in \'Rectangle\' is used in another Component that will make the \'

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