import React from "react"; import { Button, Col, Container, Form, Row } from "react-bootstrap"; import { HiMagnifyingGlass } from "react-icons/hi2" const timeOfArrival = () => { let times = []; for (let i = 0; i <= 23; i++) { for (let j = 0; j <= 45; j += 15) { let hour = i.toString().padStart(2, "0"); let minutes = j.toString().padStart(2, "0"); times.push(`${hour}:${minutes}`); } } return times; }; function TabFormRestaurant() { const a = timeOfArrival(); return (
{a.map((x) => { return ; })}
); } export default TabFormRestaurant;