component panic event
This commit is contained in:
21
src/currentPanicEvents.jsx
Normal file
21
src/currentPanicEvents.jsx
Normal 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>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user