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
@@ -108,6 +108,7 @@ export default function HotelCard({
label={intl.formatMessage({ id: "See hotel details" })}
hotelId={hotelData.operaId}
hotel={hotelData}
showCTA={true}
/>
</section>
<section className={styles.prices}>
+1 -1
View File
@@ -27,7 +27,7 @@ export default function HotelSidePeek({
hotel,
activeSidePeek,
close,
showCTA = true,
showCTA,
}: HotelSidePeekProps) {
const intl = useIntl()
const amenitiesList = getAmenitiesList(hotel)
@@ -5,5 +5,5 @@ export type HotelSidePeekProps = {
hotel: Hotel
activeSidePeek: SidePeekEnum
close: () => void
showCTA?: boolean
showCTA: boolean
}