title: How to position multiple buttons on the same line separately in react-native?
body: <p>I want to create two buttons in same line separately.I used flex=2 but it's not working.How can i fix that?</p>
  
  <pre><code>&lt;View style={{ flex: 2,flexDirection: "row" ,marginLeft:20}}&gt;
      &lt;BtnDft h={40} w={100} name={ "Update"} /&gt;
      &lt;BtnDft h={40} w={100} name={ "Log out"} /&gt;
  &lt;/View&gt;
  </code></pre>