如何将 CSS 模块类名作为不同于 的道具传递styleName
?
import './MyStyles.css'
<ThirdPartyComponent
styleName='this-works'
activeClassName='i want to pass my css module classes here' />
如何将 CSS 模块类名作为不同于 的道具传递styleName
?
import './MyStyles.css'
<ThirdPartyComponent
styleName='this-works'
activeClassName='i want to pass my css module classes here' />