-1

I have a design spec that looks like this:

enter image description here

As you can see, the container can either have a row of 2 columns or a row of 1 column. The row with 2 columns also has a space between.

Using flex, how can I make this possible? The columns comprise of simple hardcoded <View>s.

user023425
  • 169
  • 8

1 Answers1

0

You should probably use inine-flex here if you don't want to use grid. Maybe this solution will help you: Sandbox

MichaelLearner
  • 429
  • 4
  • 14