render(){
return(
<form className={style.novaTarefa}>
<div>
<label htmlFor="tarefa" className={style.label}>
Adicione um novo estudo
</label>
<input
type="text"
placeholder="Estudo"
name="tarefa"
value = {this.state.tarefa}
onChange = {evento => this.setState ({...this.state, tarefa: evento.target.value})}
id="tarefa"
required
className={style.input}/>
</div>
<div>
<label htmlFor="tempo" className={style.label}>
Tempo
</label>
<input
type="time"
name="tempo"
value = {this.state.tempo}
onChange = {evento => this.setState({...this.state, tempo: evento.target.value})}
id="tempo"
min="00:00:00"
max="01:30:00"
required
className={style.input}
/>
</div>
**<Botao type="submit" onClick={this.adicionarTarefa.bind(this)}>**
Adicionar
</Botao>
</form>
)
}****