react add multiple classnames code example
Example 1: react multiple classnames
className={[this.state.className, this.props.content.divClassName].join(" ")}
Example 2: How to add multiple classes to a ReactJS Component
var liClasses = classNames({
'main-class': true,
'activeClass': self.state.focused === index
});
return (<li className={liClasses}>{data.name}</li>);