using a variable to access button className without using event React

后端 未结 0 2037
感情败类
感情败类 2021-02-15 20:02

I\'m building a calculator in react and I want to assign operators className to distinguish them from regular numbers. I need to assign classNames so I can evaluate the expressi

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