title: How to place button on right side in reactjs
body: <p>I am creating a simple UI for a webapp using React and Ant Design. I would like to place a Button at the top right of the screen. My component render function looks something like this:</p>
  
  <pre><code>return (
      &lt;div style={{something here?}}&gt;
          &lt;div style={{something else here?}}&gt;
              &lt;Button&gt;Logout&lt;/Button&gt;
          &lt;/div&gt;
          &lt;div&gt;
             {Main components here}
          &lt;/div&gt;
      &lt;/div&gt;
  );
  </code></pre>
  
  <p>I have tried adding various things to the outer and/or inner dics and have not been able to move the button to the right - it always stays on the left. How do I make it move to the right?</p>