feat(SW-826): added showCTA
This commit is contained in:
@@ -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}>
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ export type HotelSidePeekProps = {
|
|||||||
hotel: Hotel
|
hotel: Hotel
|
||||||
activeSidePeek: SidePeekEnum
|
activeSidePeek: SidePeekEnum
|
||||||
close: () => void
|
close: () => void
|
||||||
showCTA?: boolean
|
showCTA: boolean
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user