feat(SW-880): create facility card component

This commit is contained in:
Fredrik Thorsson
2024-11-18 10:24:45 +01:00
parent 4002d63c59
commit b5704dee21
6 changed files with 109 additions and 61 deletions

View File

@@ -0,0 +1,19 @@
export type FacilityCardProps = {
imgUrl: string
imgAltText: string
facilityType: string
ordinaryOpeningTimes: {
alwaysOpen: boolean
isClosed: boolean
openingTime?: string
closingTime?: string
sortOrder?: number
}
weekendOpeningTimes: {
alwaysOpen: boolean
isClosed: boolean
openingTime?: string
closingTime?: string
sortOrder?: number
}
}