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" })}
|
||||
hotelId={hotelData.operaId}
|
||||
hotel={hotelData}
|
||||
showCTA={true}
|
||||
/>
|
||||
</section>
|
||||
<section className={styles.prices}>
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user