interpolation react

JavaScript
<div className={'total total-' + obj.state}>
Source

Also in JavaScript: