component panic event

This commit is contained in:
Bob Hart
2022-10-01 15:50:01 +01:00
parent fc683a4df4
commit 6b1463097a

View File

@@ -0,0 +1,21 @@
function CurrentPanicEvents(props) {
return (
<table>
<tr>
<th>Patient</th>
<th>Location</th>
<th>Time</th>
<th>Respondees</th>
</tr>
{props.map((panicEvent) => (
<tr>
<td>{panicEvent.patient}</td>
<td>{panicEvent.location}</td>
<td>{panicEvent.timestamp}</td>
<td>{panicEvent.patient}</td>
{panicEvent.respondees}
</tr>
))}
</table>
);
};