import { ReactNode } from "react" // @mui material components import Card from "@mui/material/Card" import Divider from "@mui/material/Divider" import Icon from "@mui/material/Icon" // ThreeD Garden components import MDBox from "~/components/mui/MDBox" import MDTypography from "~/components/mui/MDTypography" // Declaring props types for BookingCard interface Props { image: string title: string description: string price: string location: ReactNode action?: ReactNode | boolean [key: string]: any } function BookingCard({ image, title, description, price, location, action, }: Props): JSX.Element { return ( {action} {title} {description} {price} place {location} ) } // Declaring default props for BookingCard BookingCard.defaultProps = { action: false, } export default BookingCard