react interpolate component and text code example Example: interpolation react <div className={'total total-' + obj.state}>