O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 17 de 18 · Mídia

RD-1.Add an input field

Kostas Diakogiannis

RD-1.Add an input field

RD-1. Add input field for deposit and withdraw

Let's try to have an exercise, instead of just adding or taking 50 dollars as a fixed value, try to take this number from an input field. 

So create a new component, that renders only one input field. This input should be of type number, and it's value, should be stored in centralized state anytime, the value changes. Then when we clicked the corresponding buttons, the function should trigger the dispatch action by the value this field has at the time. 

After clicking, reset the field's value back to 0.

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?