React Native: "Auto" width for text node
<p>I have a text element inside a view:</p>

<p><code>&lt;View&gt;&lt;Text&gt;hello world foo bar&lt;/Text&gt;&lt;/View&gt;</code></p>

<p>as part of a flex grid.</p>

<p>I want this view to have an auto width based on the content i.e. length of the text.</p>

<p>How do I achieve this?</p>