title: How to create a download button in React
body: <p>I am trying to create a button that triggers a download of a JSON file. (And please i don't want to use any libraries to achieve this). Thank you.</p>
  
  <pre><code>import Data from '../Data';
  
  let data = Data;
  
  &lt;Button&gt;Download&lt;/Button&gt;
  </code></pre>