classname 2 classes code example
Example 1: 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>
Example 2: react multiple classnames
className={[this.state.className, this.props.content.divClassName].join(" ")}