react conditional element code example
Example: react conditional class
<div className={"btn-group pull-right " + (this.props.showBulkActions ? 'show' : 'hidden')}>
<div className={"btn-group pull-right " + (this.props.showBulkActions ? 'show' : 'hidden')}>