SyntaxFix
Write A Post
Hire A Developer
Questions
Taken from their site.
render() { let className = 'menu'; if (this.props.isActive) { className += ' menu-active'; } return <span className={className}>Menu</span> }
https://reactjs.org/docs/faq-styling.html