multiple styles in classname react code example
Example 1: give multiple classes in modular css react
className={`${styles.description} ${styles.yellow}`}
Example 2: jsx classname multiple
// Using String Templates
<div className={`${this.state.className} ${this.props.content.divClassName}}`>
...
</div>
// OR
// Using An Array
<div className={[this.state.className, this.props.content.divClassName].join(" ")}>
...
</div>