Unable to get plotly charts to resize dynamically within a react-grid-layout


I am trying to create a dashboard app using react grid layout. I have created the layout and the plotly charts I wish to input as children, which I am able to do. I’m cannot at this minute get the plotly graph to resize dynamically as the parent div resizes. Is there a way to feed the height of the parent div to the plotly chart so it resizes with the grid element?