Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react conditional class

<div className={"btn-group pull-right " + (this.props.showBulkActions ? 'show' : 'hidden')}>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #react #conditional #class
ADD COMMENT
Topic
Name
6+1 =