Why can I reference imported style object properties directly but not by reference?

后端 未结 0 796
栀梦
栀梦 2020-12-05 04:15

I am trying to create a helper function to add style imports in react. I want to just say className={stylesJoin(..args)} instead of className={styles.styl

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