I have a <Grid>
Component where <Rows>
are added dynamically. As shown below
on click of Add Menu Item
I push a <Row>
component to the <Grid>
on click of Save
I want to access the data inside all the <Row>
components so far. I know we can access a single input using refs
but is there a way to fetch the grid contents into a single array of objects in React.?