Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ng-class equivalent in react

<div className={this.props.canChange ? "change-button" : "change-button gray-out"}>
blah
</div>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #equivalent #react
ADD COMMENT
Topic
Name
4+7 =