Tambahkan 2 nama kelas bereaksi
<input className={`form-control round-lg ${this.state.valid ? '' : 'error'}`} />
Lazy Llama
<input className={`form-control round-lg ${this.state.valid ? '' : 'error'}`} />
var liClasses = classNames({
'main-class': true,
'activeClass': self.state.focused === index
});
return (<li className={liClasses}>{data.name}</li>);
<div className={isActive ? 'dropdown wishlist wishlist-dropdown off-canvas mr-4 d-lg-show opened' : 'dropdown wishlist wishlist-dropdown off-canvas mr-4 d-lg-show'} onClick={handleClick}>