title: Stretch a line along width in react-native
body: <p>I am showing a modal in my app where I want to show a line between the message and the close button. I want to know how can I stretch a line across the width of the <code>View</code> . Below is a sample component on rnplay which displays the problem. It shows a line where I have explicitly set the <code>width</code> to <code>100</code>. I wanted to know if there is a way to do it automatically using some flex-box property.</p>
  
  <p><a href="https://rnplay.org/apps/LeYqmQ" rel="nofollow">https://rnplay.org/apps/LeYqmQ</a></p>
  
  <p>Thanks!</p>