import React from "react";
import LoginForm from "../Components/Login/LoginForm";
import {Container, Row, Col, Form, FloatingLabel} from "react-bootstrap";
import Navigation from "../Components/Layout/Navbar/Navigation";
import Carousel from "react-bootstrap/Carousel";
import { useState } from "react";
import DescriptionContainer from "../Components/HotelDetails/DescriptionContainer";
import ReviewsCarousel from "../Components/HotelDetails/ReviewsCarousel";
import RoomsTable from "../Components/HotelDetails/RoomsTable";
import ContactBar from "../Components/HotelDetails/ContactBar";
import { useLocation } from "react-router-dom";
const HotelDetailsPage = (props) => {
document.body.style.backgroundColor = "white";
const [index, setIndex] = useState(0);
const location = useLocation();
const { data, from, to } = location.state;
console.log(location)
console.log("DETAILS ")
console.log(data)
const handleSelect = (selectedIndex) => {
setIndex(selectedIndex);
};
return (
<>
{data.hotelName}
9.1
Критериуми од пребарувањето
>
);
};
export default HotelDetailsPage;