title: Exporting useState hook
body: <p>How would I go about exporting the useState hook?
  Exporting a variable is pretty straight forward, but I am not sure how to do it with useState.</p>
  
  <pre><code>import React, { useState } from "react";
  
  export const Storage = () =&gt; {
      [data, setData] = useState("")
  }
  </code></pre>
  
  <p>If I try to import Storage somewhere and run Storage.setData() I get a "setData is not a function error.</p>