Is there a way to add a second class to my <div>
with the class "button"? When I try to append 'toggle-button', the class doesn't seem to work.
<CSSTransitionGroup
transitionName="buttonAninmated"
transitionEnterTimeout={300}
transitionLeaveTimeout={300}
>
<div className={['toggle-button', this.state.active ? 'active-button': null]} onClick={this.toggleMenu}>
<span></span>
<span></span>
<span></span>
</div>
</CSSTransitionGroup>