Skip to content

Commit 1e6d5ac

Browse files
authored
Update Style type to CSSProperties
This allows us to get IntelliSense support when specifying containerStyle and style.
1 parent 5038ac4 commit 1e6d5ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface IProvidedProps {
2626

2727
type mapEventHandler = (mapProps?: IMapProps, map?: google.maps.Map, event?) => any
2828

29-
type Style = Object<string, string | number | boolean>
29+
type Style = React.CSSProperties;
3030

3131
export interface IMapProps extends google.maps.MapOptions {
3232
google: GoogleAPI

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy