title: When styling in react native flex=1 not working
body: <p>Hello i am fairly new to React Native and am using flex=1 for making a button cover the entire width of the screen but that is not happening for some reason.</p>
  
  <p><a href="https://i.stack.imgur.com/Olusx.png" rel="nofollow noreferrer">The script for creating the button component</a></p>
  
  <p><a href="https://i.stack.imgur.com/ScGgd.png" rel="nofollow noreferrer">The result in the emulator</a></p>
  
  <p><a href="https://i.stack.imgur.com/VtlKy.png" rel="nofollow noreferrer">Using the button component to create a button</a></p>