Row
Last updated
Last updated
Use this property to center a child horizontally within a container with flexDirection set to row.
View full example: Row Example
Property
Default
Option
Description
content
flex-start
string
Describes how to align children within the main axis of their container. ('flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'space-evenly')
alignItems
stretch
string
Aligns children in the cross direction. ('flex-start', 'flex-end', 'center', 'stretch', 'baseline')
style
-
-
Style for the row
space-between
space-around
flex-end
space-evenly