Files
web/packages/booking-flow/lib/components/PriceDetailsModal/PriceDetailsTable/Row/BookingCode.tsx
Bianca Widstam 1e566e59f7 Merged in fix/SW-3484-campaign-remove-breakfast-message-chip (pull request #2820)
fix(SW-3484): remove breakfast message in the booking code chip for campaign

* fix(SW-3484): remove breakfast message in the booking code chip for campaign


Approved-by: Matilda Landström
2025-09-17 08:11:10 +00:00

32 lines
611 B
TypeScript

"use client"
import { BookingCodeChip } from "@scandic-hotels/design-system/BookingCodeChip"
import styles from "./row.module.css"
interface BookingCodeRowProps {
bookingCode?: string
isBreakfastIncluded?: boolean
isCampaignRate?: boolean
}
export default function BookingCodeRow({
bookingCode,
isCampaignRate,
}: BookingCodeRowProps) {
if (!bookingCode) {
return null
}
return (
<tr className={styles.row}>
<td colSpan={2} align="left">
<BookingCodeChip
bookingCode={bookingCode}
isCampaign={isCampaignRate}
/>
</td>
</tr>
)
}