feat(SW-1051): fix sidepeek select hotel page * feat(SW-1051): fix sidepeek select hotel page Approved-by: Niclas Edenvin
23 lines
672 B
TypeScript
23 lines
672 B
TypeScript
import { useIntl } from "react-intl"
|
|
|
|
import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem"
|
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
|
|
|
import { RestaurantProps } from "@/types/components/hotelReservation/selectHotel/selectHotel"
|
|
import { IconName } from "@/types/components/icon"
|
|
|
|
export default function Restaurant({
|
|
restaurantsContentDescriptionMedium,
|
|
}: RestaurantProps) {
|
|
const intl = useIntl()
|
|
|
|
return (
|
|
<AccordionItem
|
|
title={intl.formatMessage({ id: "Restaurant" }, { count: 1 })}
|
|
icon={IconName.Restaurant}
|
|
>
|
|
<Body>{restaurantsContentDescriptionMedium}</Body>
|
|
</AccordionItem>
|
|
)
|
|
}
|