string interpolation javascript react code example Example: interpolation react <div className={'total total-' + obj.state}>