feat(SW-880): refactor facility component
This commit is contained in:
committed by
Joakim Jäderberg
parent
3f73699e73
commit
706c305844
5
types/components/hotelPage/sidepeek/facility.ts
Normal file
5
types/components/hotelPage/sidepeek/facility.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import type { Hotel } from "@/types/hotel"
|
||||
|
||||
export type FacilityProps = {
|
||||
data: Hotel["healthFacilities"][number]
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user