From 5b7a59d50af49b1e6c47e4cc0d64c5006a567861 Mon Sep 17 00:00:00 2001 From: Richard Nias Date: Sun, 10 Feb 2019 00:14:43 +0100 Subject: [PATCH] Add style, containerStyle and center to IMapProps --- index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/index.d.ts b/index.d.ts index fb5ee75f..9499bf60 100644 --- a/index.d.ts +++ b/index.d.ts @@ -26,13 +26,19 @@ export interface IProvidedProps { type mapEventHandler = (mapProps?: IMapProps, map?: google.maps.Map, event?) => any +type Style = Object + export interface IMapProps extends google.maps.MapOptions { google: GoogleAPI loaded?: boolean + style?: Style + containerStyle?: Style + bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral centerAroundCurrentLocation?: boolean initialCenter?: google.maps.LatLngLiteral + center?: google.maps.LatLngLiteral visible?: boolean