import React from "react"; import { Container } from "react-bootstrap"; const DescriptionContainer = (props) => { const type = props.type == "hotel" ? "сместувањето" : props.type == "restaurant" ? "ресторанот" : "превозот"; return <>

Опис на {type}

{props.data}

} export default DescriptionContainer