title: Is there a way to wrap background color around text in react-native?
body: <p>Currently, this is what I am trying to avoid. As you can see the background color runs until the end of the width. It would be nice for the background color to surround the text.</p>
  
  <p><a href="https://i.stack.imgur.com/vsGjj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vsGjj.png" alt="enter image description here"></a></p>
  
  <p>I looked a tons of examples and I don't really see where they wrap background color around the text itself</p>
  
  <pre><code>&lt;Text style={{backgroundColor:'blue'}}&gt; TTeexxtt &lt;/Text&gt;
  </code></pre>
  
  <p>I tried with flexWrap and it doesn't work just like so</p>
  
  <pre><code>&lt;Text style={{backgroundColor:'blue', flexWrap:'wrap'}}&gt; TTeexxtt &lt;/Text&gt;
  </code></pre>
  
  <p>As always, thank you</p>