The NewExpense component

Signed-in users on this expense tracking application will interact with a form view in order to enter details of a new expense record. This form view will be rendered in the NewExpense component, which will allow users to create a new expense by entering the expense title, the amount spent, the category of the expense, the date-time of when the expense was incurred, and any additional notes.

This form will render as follows:

The implementation for this NewExpense component is similar to other form implementations that we have discussed previously, such as the Signup component implementation from Chapter 4, Adding a ...

Get Full-Stack React Projects - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.