feat(SW-826): added showCTA

This commit is contained in:
Pontus Dreij
2024-11-13 20:40:22 +01:00
parent 5c85e59bba
commit 71ef991478
3 changed files with 3 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ export default function HotelCard({
label={intl.formatMessage({ id: "See hotel details" })} label={intl.formatMessage({ id: "See hotel details" })}
hotelId={hotelData.operaId} hotelId={hotelData.operaId}
hotel={hotelData} hotel={hotelData}
showCTA={true}
/> />
</section> </section>
<section className={styles.prices}> <section className={styles.prices}>

View File

@@ -27,7 +27,7 @@ export default function HotelSidePeek({
hotel, hotel,
activeSidePeek, activeSidePeek,
close, close,
showCTA = true, showCTA,
}: HotelSidePeekProps) { }: HotelSidePeekProps) {
const intl = useIntl() const intl = useIntl()
const amenitiesList = getAmenitiesList(hotel) const amenitiesList = getAmenitiesList(hotel)

View File

@@ -5,5 +5,5 @@ export type HotelSidePeekProps = {
hotel: Hotel hotel: Hotel
activeSidePeek: SidePeekEnum activeSidePeek: SidePeekEnum
close: () => void close: () => void
showCTA?: boolean showCTA: boolean
} }