import React from "react"; import { Form, Button, Container } from "react-bootstrap"; import { GiConfirmed } from "react-icons/gi" import useCreateTable from "../Hooks/Restaurant/useCreateTable"; import useFormData from "../Hooks/useFormData"; const AddTableForm = (props) => { const { createTable } = useCreateTable(); console.log("OD FORMATA") console.log(props.data) const dummy = { numberOfSeats: "" } const { formData, onFormChange, onCheckBoxChange, setFormData } = useFormData( props.data ? props.data : dummy ); return (<>
Број на луѓе {/**/} {/* Време на резервација*/} {/* */} {/**/} {/**/} {/* Времетраење на резервација*/} {/* */} {/**/}
) } export default AddTableForm;