feat(SW-189): added translations and some minor changes
This commit is contained in:
7
types/components/hotelPage/map/dynamicMap.ts
Normal file
7
types/components/hotelPage/map/dynamicMap.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { Coordinates } from "../../maps/coordinates"
|
||||
|
||||
export interface DynamicMapProps {
|
||||
apiKey: string
|
||||
hotelName: string
|
||||
coordinates: Coordinates
|
||||
}
|
||||
6
types/components/hotelPage/map/dynamicMapContent.ts
Normal file
6
types/components/hotelPage/map/dynamicMapContent.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import type { Coordinates } from "../../maps/coordinates"
|
||||
|
||||
export interface DynamicMapContentProps {
|
||||
hotelName: string
|
||||
coordinates: Coordinates
|
||||
}
|
||||
@@ -1,7 +1,4 @@
|
||||
type Coordinates = {
|
||||
lat: number
|
||||
lng: number
|
||||
}
|
||||
import type { Coordinates } from "../../maps/coordinates"
|
||||
|
||||
export type StaticMapProps = {
|
||||
coordinates: Coordinates
|
||||
Reference in New Issue
Block a user