this is my react Map component.
import GoogleMapReact from 'google-map-react';
this.state = {
center: {
lat: 59.95,
lng: 30.33
},
}
<div style={{ height: '100vh', width: '100%', position:"absolute" }}>
<GoogleMapReact
bootstrapURLKeys={{ key: "some token" }}
defaultCenter={this.props.center}
defaultZoom={16}
>
</GoogleMapReact>
</div>
but nothing renders .why? in github page documentation they said parrent element must have an absolute position with '100vh', width: '100%'. nothing shows On page .