feat(SW-281): refactor

This commit is contained in:
Fredrik Thorsson
2024-10-24 15:08:23 +02:00
parent 2428e09fe5
commit b841604e5e
5 changed files with 75 additions and 70 deletions
@@ -0,0 +1,9 @@
import { Hotel } from "@/types/hotel"
export type HotelListingProps = {
image: Hotel["hotelContent"]["images"]["imageSizes"]["large"]
name: Hotel["name"]
address: Hotel["address"]["streetAddress"]
distance: Hotel["location"]["distanceToCentre"]
description: Hotel["hotelContent"]["texts"]["descriptions"]["medium"]
}