Skip to content

Commit c70a04f

Browse files
authored
Merge pull request #316 from richardnias/improve-types
Add style, containerStyle and center to IMapProps
2 parents 895503e + 5b7a59d commit c70a04f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.d.ts

+6
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)