In React, I have a component called DivHelper which generates 2 divs one below the other – instead i want to place them side by side and I cant see the code of Divhelper generates the divs. Is there a way to access dynamically generated divs ?
For example –
///Some random code
< DivHelper/>
///Some more code
This becomes
///Some random code
<div>1 Div</div>
<div>2 Div</div>
///Some more code
and thus, the output is
1 Div
2 Div
Instead I want it to be placed on side by side reversed (like float)
2 Div 1 Div
Is this possible ?