Course Content
Expert React
Expert React
4. Formik
6. Next Steps
Challenge: Add Initial Values
Task
Initialize values for the input fields. Each input field should be assigned an initial value based on the value of the name
prop. Follow the steps below:
Follow the steps:
- Initialize the
firstName
field with an empty string. - Initialize the
lastName
field with an empty string. - Initialize the
mail
field with an empty string.
Everything was clear?