add 2 class names react

JavaScript
<input className={`form-control round-lg ${this.state.valid ? '' : 'error'}`} />
Source

Also in JavaScript: