Learn how to use the layout components in your views
View
component is the root container that allows you to define layout properties for your views.
Row
component is a container that lays out its children in a row. It is a flex container with a flexDirection
of row
by default.
Row
component:
4
, 8
, 12
, 16
, 20
, 24
, 28
, 32
.Column
component is a container that lays out its children in a column. It is a flex container with a flexDirection
of column
by default.
Row
component:
4
, 8
, 12
, 16
, 20
, 24
, 28
, 32
.Row
and Column
components within a View
to create complex layouts. For example, you can use two Column
components inside a Row
component to create a sidebar and main content area.