Skip to content

Instantly share code, notes, and snippets.

@nonotest
Created October 29, 2018 10:14
Show Gist options
  • Save nonotest/132149f29936c5d6a6ecb2874f9495a3 to your computer and use it in GitHub Desktop.
Save nonotest/132149f29936c5d6a6ecb2874f9495a3 to your computer and use it in GitHub Desktop.
Trying to get flex wrap to work with multiple elements, including a <Text> that may have multiple lines.
<View
style={{
flexDirection: 'row',
flexWrap: 'wrap',
alignItems: 'flex-start',
flex: 1,
}}
>
[<Text/>,<Tag />...]
</View>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment