Shorthand for alignItems
style prop
Flex
Flex is Box with display set to flex and comes with helpful style shorthand. It renders a `div` element.
Props#
align
align
Description
Type
ResponsiveValue<AlignItems>
basis
basis
Description
Shorthand for flexBasis
style prop
Type
ResponsiveValue<FlexBasis<Length>>
direction
direction
Description
Shorthand for flexDirection
style prop
Type
ResponsiveValue<FlexDirection>
Default
row
grow
grow
Description
Shorthand for flexGrow
style prop
Type
ResponsiveValue<FlexGrow>
justify
justify
Description
Shorthand for justifyContent
style prop
Type
ResponsiveValue<JustifyContent>
shrink
shrink
Description
Shorthand for flexShrink
style prop
Type
ResponsiveValue<FlexShrink>
wrap
wrap
Description
Shorthand for flexWrap
style prop
Type
ResponsiveValue<FlexWrap>
Props#
align
align
Description
Shorthand for alignItems
style prop
Type
ResponsiveValue<AlignItems>
basis
basis
Description
Shorthand for flexBasis
style prop
Type
ResponsiveValue<FlexBasis<Length>>
direction
direction
Description
Shorthand for flexDirection
style prop
Type
ResponsiveValue<FlexDirection>
Default
row
grow
grow
Description
Shorthand for flexGrow
style prop
Type
ResponsiveValue<FlexGrow>
justify
justify
Description
Shorthand for justifyContent
style prop
Type
ResponsiveValue<JustifyContent>
shrink
shrink
Description
Shorthand for flexShrink
style prop
Type
ResponsiveValue<FlexShrink>
wrap
wrap
Description
Shorthand for flexWrap
style prop
Type
ResponsiveValue<FlexWrap>