How to add multiple classes to a ReactJS Component code example
Example: How to add multiple classes to a ReactJS Component
var liClasses = classNames({
'main-class': true,
'activeClass': self.state.focused === index
});
return ({data.name} );