import React from "react"; import { Form, Button, Container } from "react-bootstrap"; import { GiConfirmed } from "react-icons/gi"; import useCreateRoomAvailiability from "../Hooks/Hotel/useCreateRoomAvailability"; import useFormData from "../Hooks/useFormData"; const AddRoomAvailablityForm = (props) => { const { createRoomAvailability } = useCreateRoomAvailiability(props.hotelRoomId); console.log(props.hotelRoomId) const { formData, onFormChange, onCheckBoxChange, setFormData } = useFormData( { dateFrom: Date.now(), dateTo: Date.now(), numberOfBeds: 0, } ); return ( <>
Датом од Датум до Број на соби
); }; export default AddRoomAvailablityForm;