xxxxxxxxxx
className={`${styles.description} ${styles.yellow}`}
xxxxxxxxxx
className={[this.state.className, this.props.content.divClassName].join(" ")}
xxxxxxxxxx
<div className={`${styles.description} ${styles.yellow}`}>Multiple className</div>
xxxxxxxxxx
//one class from props and second from custom css class
className={`${classes.container} custom_container`}
xxxxxxxxxx
var liClasses = classNames({
'main-class': true,
'activeClass': self.state.focused === index
});
return (<li className={liClasses}>{data.name}</li>);
xxxxxxxxxx
<div className={isActive ? 'dropdown wishlist wishlist-dropdown off-canvas mr-4 d-lg-show opened' : 'dropdown wishlist wishlist-dropdown off-canvas mr-4 d-lg-show'} onClick={handleClick}>