repository | branch |
---|---|
exercise |
Consider this application and it's exercise
branch.
- Replace the hard-coded state with data from the API and include the correct type for the array of quotes.
- The form for changing the count and submitting the form is in the
<Quotes>
component. - You'll need to pass in the
count
as well as event handlers foronChange
andonSubmit
.
- The form for changing the count and submitting the form is in the
- Add the correct typing for the children in the
<Quotes />
component. - Add the correct typing for the
onSubmit
event handler.
You can see the solution here.