Files
web/types/components/ancillaryCard.ts
Pontus Dreij ed9dbded5d Merged in feat/SW-1504-UI-update-breakfast-component (pull request #1284)
feat(SW-1504): Used AncillaryCard and added to breakfast choice

* feat(SW-1504): Craeted AncillaryCard and added to breakfast choice

* feat(SW-1504): Using of AncillaryCard

* feat(SW-1504) Removed unused imports

* feat(SW-1504): Added price text

* feat(SW-1504): added /night per adult

* feat(SW-1504) Removed type prop


Approved-by: Arvid Norlin
2025-02-14 15:43:14 +00:00

22 lines
395 B
TypeScript

export interface AncillaryCardProps {
ancillary: {
title: string
imageUrl: string
imageOpacity?: number
price: {
total: number
currency: string
text?: string
included?: boolean
}
points?: number
description?: string
}
}
export interface BreakfastChoiceCardProps extends AncillaryCardProps {
name: string
id?: string
value: string
}