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