Create `BestBetterExpandingTable` Component to Support Districts Page and Events Page
We'll need a common table component in React that will allow us to generate a table element with a fixed number of columns.
- <name>
- Edit/Save Button (changes according to state)
- Delete (opens pop-up to request confirmation)
Additionally, below the table, there should be an option to "Add" an entry to the table.
The table component should support the following props:
-
tableContents
: List; all table element names -
onUpdate
-> Callable; updates the list of table row data following an edit operation, or a confirmed deletion
Edited by Joe Stanley