feat(SW-880): create facility card component

This commit is contained in:
Fredrik Thorsson
2024-11-18 10:24:45 +01:00
committed by Joakim Jäderberg
parent ce6914a7e4
commit 3f73699e73
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
}
}