add condition in html class react 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')}>