26 lines
412 B
JavaScript
26 lines
412 B
JavaScript
import React from 'react'
|
|
|
|
const TabelaAgendamentoDia = (agendamentos) => {
|
|
return (
|
|
<div>
|
|
|
|
<table border='2'>
|
|
|
|
{agendamentos.map((agendamento) => (
|
|
<tr>
|
|
<td>{agendamento.horario}</td>
|
|
<td>
|
|
<div>{agendamento.paciente}</div>
|
|
</td>
|
|
</tr>
|
|
|
|
|
|
))}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default TabelaAgendamentoDia |