The Full React Native Flex Layout
justifyContent
The default value is flex-start
alignSelf
flex In React Native
Flexbox is designed to provide a consistent layout on different screen sizes.
Flexbox is designed to provide a consistent layout on different screen sizes.
- flexbox offers three main properties − flexDirection, justifyContent and alignItems.
- default flexDirection is column
column
column-reverse
row
row-reverse
- flex-start
- flex-end
- center
- space-between
- space-around
alignItems
- flex-start
- flex-end
- center
- stretch
- flex-start
- flex-end
- center
- stretch
flexWrap
- wrap
- nowrap
The default value is nowrap
No comments:
Post a Comment