Skip to content

Commit 5b7a59d

Browse files
committed
Add style, containerStyle and center to IMapProps
1 parent 90af72e commit 5b7a59d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,19 @@ export interface IProvidedProps {
2626

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

29+
type Style = Object<string, string | number | boolean>
30+
2931
export interface IMapProps extends google.maps.MapOptions {
3032
google: GoogleAPI
3133
loaded?: boolean
3234

35+
style?: Style
36+
containerStyle?: Style
37+
3338
bounds?: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral
3439
centerAroundCurrentLocation?: boolean
3540
initialCenter?: google.maps.LatLngLiteral
41+
center?: google.maps.LatLngLiteral
3642

3743
visible?: boolean
3844

0 commit comments

Comments
 (0)