React Native doesn\'t support the CSS display
property, and by default all elements use the behavior of display: flex
(no inline-flex
You can get this effect by wrapping text elements in other text elements the way you would wrap a span in a div or another element:
This writing should fill most of the container This writing should fill most of the container
You can also get this effect by declaring a flexDirection:'row' property on the parent along with a flexWrap: 'wrap'. The children will then display inline:
one two Three Four Five
Check out this example.
https://rnplay.org/apps/-rzWGg