mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
@types/google-map-react - optional elementType and featureType of a MapTypeStyle (#28766)
* optional elementType and featureType of a MapTypeStyle * little fix
This commit is contained in:
committed by
Ryan Cavanaugh
parent
4efc019933
commit
3523c68c52
@@ -13,6 +13,17 @@ const options: MapOptions = {
|
||||
featureType: "administrative",
|
||||
elementType: "all",
|
||||
stylers: [ {saturation: "-100"} ]
|
||||
},
|
||||
{
|
||||
featureType: "administrative.neighborhood",
|
||||
stylers: [ {visibility: "off" } ]
|
||||
},
|
||||
{
|
||||
elementType: "labels.text.stroke",
|
||||
stylers: [ {color: "#242f3e"} ]
|
||||
},
|
||||
{
|
||||
stylers: [ {color: "#fcfffd"} ]
|
||||
}
|
||||
],
|
||||
};
|
||||
|
||||
Vendored
+2
-2
@@ -9,8 +9,8 @@ import * as React from 'react';
|
||||
export type BootstrapURLKeys = ({ key: string; } | { client: string; v: string; }) & { language?: string };
|
||||
|
||||
export interface MapTypeStyle {
|
||||
elementType: string;
|
||||
featureType: string;
|
||||
elementType?: string;
|
||||
featureType?: string;
|
||||
stylers: any[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user