Files
front-AT/app/Components/BitacoraSanciones/BitacoraAlumno.tsx
T

37 lines
793 B
TypeScript
Raw Normal View History

2025-09-23 17:28:23 -06:00
"use client";
import { useState } from "react";
2025-09-28 01:59:16 -06:00
2025-09-23 17:28:23 -06:00
interface alumnos {
tiempo_entrada: string;
tiempo_asignado: string;
Ubicacion_equipo: number;
}
function BitacoraAlumno() {
const [alumnos, setAlumnos] = useState<alumnos[]>([]);
return (
<>
2025-10-14 14:27:03 -06:00
<table>
<thead>
<tr>
<th>Tiempo Entrada</th>
<th>Tiempo Asignado</th>
<th>Ubicacion del equipo</th>
</tr>
</thead>
<tbody>
{alumnos.map((alumno, index) => (
<tr key={index}>
<td>{alumno.tiempo_entrada}</td>
<td>{alumno.tiempo_asignado}</td>
<td>{alumno.Ubicacion_equipo}</td>
2025-09-23 17:28:23 -06:00
</tr>
2025-10-14 14:27:03 -06:00
))}
</tbody>
</table>
2025-09-23 17:28:23 -06:00
</>
);
}
export default BitacoraAlumno;