Skip to content

Commit 2d21419

Browse files
authored
#87 Add missing rootURL to typings
2 parents 75ddaba + ac146ce commit 2d21419

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

typings/index.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ declare namespace ReactStaticGoogleMap {
146146
* @memberof GoogleMapImageProps
147147
*/
148148
onCacheUpdate?: (cache: cacheType) => void;
149+
150+
/**
151+
* The root url in which all params will be serialized and appended to.
152+
*
153+
* @type {string}
154+
* @memberof GoogleMapImageProps
155+
* @default https://maps.googleapis.com/maps/api/staticmap
156+
*/
157+
rootURL?: string;
149158
}
150159

151160
type cacheType = boolean | { [stringProps: string]: string };

0 commit comments

Comments
 (0)