react js inside className code example
Example: add 2 class names react
<input className={`form-control round-lg ${this.state.valid ? '' : 'error'}`} />
<input className={`form-control round-lg ${this.state.valid ? '' : 'error'}`} />