"use client"; import SearchDate from "../SearchDate/SearchDate"; import { useState } from "react"; import styles from "./Page.module.css"; interface tables { no_mesa: number; no_cuenta: number; hora_entrada: string; tiempo_asignado: number; hora_salida: string; } function BitacoraMesas() { const [tables, setTables] = useState([]); return ( <>
{tables.map((table, index) => ( ))}
Mesa Cuenta Hora Entrada Tiempo Asignado Hora Salida
{table.no_mesa} {table.no_cuenta} {table.hora_entrada} {table.tiempo_asignado} {table.hora_salida}
); } export default BitacoraMesas;