Optional
alignContent alignment through the element axis
Example:
<alignContent="center" />
Optional
alignItem alignment through the element axis
Example:
<alignItems="center" />
Optional
alignSelf alignment through the element axis
Example:
<alignSelf="center" />
Optional
basisControls grow and shrink in one index
Example:
<basis={1} />
Optional
directionDirection of the FlexBox axis
Example:
<direction="row" />
Optional
flexAnnulate flex properties
Example:
<flexNone={true} />
Optional
flexActivate content wrapping
Example:
<flexWrap="wrap" />
Optional
gapChanges the gap between elements
Example:
<gap={1} />
Optional
growGrowth ratio of element
Example:
<grow={1} />
Optional
justifyContent distribution through the element axis
Example:
<justifyContent="center" />
Optional
justifyItem distribution through the element axis
Example:
<JustifyItems="center" />
Optional
justifySelf distribution through the element axis
Example:
<justifySelf="center" />
Optional
orderChanges the order of elements
Example:
<order="center" />
Optional
shrinkShrink ratio of element
Example:
<shrink={1} />
Accepted values for using flexbox.
See below for an example using some of the properties:
Example: