How to create the layout as given below?
The layouts A
and B
in mobile must stack one after other.
In the bigger screen the layout B
must be togglable. Whereas, A
adjusts to full screen or half according to the visibility of B
.
My code sample
<Grid.Row>
<Grid.Column computer={16} largeScreen={10}>
<A />
</Grid.Column>
{showB && (
<Grid.Column computer={16} largeScreen={6}>
<B />
</Grid.Column>
)}
</Grid>