DEV Community

Discussion on: How to use the Google Maps API with React.js

Collapse
reangeloj profile image
Re-Angelo Jarvis

Add a container around it. Set the container around it to position relative and 100% width, height.

div:first-of-type {
position: relative;
width: 100%;
height: 100%;
}