I was working on a collaborative project and there is a lot of {' '}
used.
Examples –
JavaScript
x
5
1
<Text>
2
{' '}
3
{constant.Messages.PointText.hey} {this._user.first_name || this._user.business_name}!{' '}
4
</Text>
5
JavaScript
1
5
1
<Text>
2
{' '}
3
{constant.Messages.PointText.redeem}{' '}
4
</Text>
5
constant.
is text as a constant.
Advertisement
Answer
You can use {' '}
syntax to insert intentional whitespace (or tabs, newlines, etc).