title: How to design fieldset legend using react-native
body: <p>In HTML we can use fieldset-legend like this:</p>
  <p>Code:</p>
  <pre><code> &lt;fieldset&gt;
    &lt;legend&gt;Heading&lt;/legend&gt;
   &lt;/fieldset&gt;
  </code></pre>
  <p>O/P:</p>
  <p><a href="https://i.stack.imgur.com/aZGmQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aZGmQ.png" alt="enter image description here" /></a></p>
  <p>How can I design the same things using react-native? <a href="https://stackoverflow.com/a/45528491/3835843">Here</a> I got a technique where it created text with a straight line, but I want to design it like fieldset-legend. How can I do that?</p>