feat(SW-189): added translations and some minor changes
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import type { Coordinates } from "../../maps/coordinates"
|
||||
|
||||
export interface DynamicMapProps {
|
||||
apiKey: string
|
||||
hotelName: string
|
||||
coordinates: Coordinates
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import type { Coordinates } from "../../maps/coordinates"
|
||||
|
||||
export interface DynamicMapContentProps {
|
||||
hotelName: string
|
||||
coordinates: Coordinates
|
||||
}
|
||||
+1
-4
@@ -1,7 +1,4 @@
|
||||
type Coordinates = {
|
||||
lat: number
|
||||
lng: number
|
||||
}
|
||||
import type { Coordinates } from "../../maps/coordinates"
|
||||
|
||||
export type StaticMapProps = {
|
||||
coordinates: Coordinates
|
||||
@@ -38,6 +38,7 @@ export enum IconName {
|
||||
Instagram = "Instagram",
|
||||
Location = "Location",
|
||||
Lock = "Lock",
|
||||
Map = "Map",
|
||||
Minus = "Minus",
|
||||
Parking = "Parking",
|
||||
Person = "Person",
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface Coordinates {
|
||||
lat: number
|
||||
lng: number
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import { Coordinates } from "./coordinates"
|
||||
|
||||
export type StaticMapProps = {
|
||||
city?: string
|
||||
coordinates?: Coordinates
|
||||
width: number
|
||||
height: number
|
||||
zoomLevel?: number
|
||||
mapType?: "roadmap" | "satellite" | "terrain" | "hybrid"
|
||||
altText: string
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
export type StaticMapProps = {
|
||||
city: string
|
||||
width: number
|
||||
height: number
|
||||
zoomLevel: number
|
||||
mapType: "roadmap" | "satellite" | "terrain" | "hybrid"
|
||||
}
|
||||
Reference in New Issue
Block a user