Closes invite status alert, resets invite_sent, backend_error & submitted state to false, and resets invitee_name and invitee_email to empty strings
Changes values of invitee_name and invitee_email based on user input
text values for invitee_name and invitee_email
Sends invitation data to backend to be processed, closes modal, and sets submitted state to true.
Also resets invitee_email and invitee_name states to empty strings.
(backend: adds invitation to database and sends invitation link)
user presses enter/submit button
Displays modal form for client to input data to generate invitation
Opens/Closes Modal if reopening, re-initialize all states
Generated using TypeDoc
A class which handles the modal form for the client to generate and send an invitation link.
Has a button to open the modal, the modal that has the form text fields, the submit button, and alerts to notify the client if the invitation was sent successfully.
The class deals with rendering, states, and props and sends data to the backend.