title: How to auto-import default React classes
body: <p>I've installed a fresh React Application with Typescript as follows:</p>
  
  <pre><code>npx create-react-app my-app --typescript
  </code></pre>
  
  <p>when I ran the app, everything seemed fine. So I removed the generated code and started writing my own.</p>
  
  <p>When I started typing, I noticed that my IDEs (Webstorm and VS Code) doesn't automatically import default classes such as <code>React</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/GdqIk.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GdqIk.gif" alt="can&#39;t auto-import default react classes"></a></p>
  
  <p>As you can see in the following example, when I selected <code>React</code>, nothing happened. But when I selected <code>Component</code> (which in't exported as default), it has been imported.</p>
  
  <p>After that, I installed  <code>"@material-ui/core": "^4.6.0"</code>.</p>
  
  <p>And it seems that I get the same behavior in here too. Now, I can tolerate using snippers such as <code>imr</code> in order to automatically import it. But as an Angular fan, I'm not used to manually import everything and I'm hoping that there's a solution for this.</p>
  
  <p>Which leads me to the following question:</p>
  
  <p>Instead of manually importing every module I'm going to use, is there an easier way to do so? it starts to be very painful.</p>
  
  <p>I have already tried the following solutions:</p>
  
  <ol>
  <li>Installing <a href="https://marketplace.visualstudio.com/items?itemName=steoates.autoimport" rel="nofollow noreferrer">steoates' Auto Import</a></li>
  <li>Installing <a href="https://github.com/tmarun/vscode-material-ui-snippets" rel="nofollow noreferrer">Arnuariri's Material UI Snippets</a></li>
  <li>Installing <a href="https://marketplace.visualstudio.com/items?itemName=burkeholland.simple-react-snippets" rel="nofollow noreferrer">Burke's Simple React Snippets</a></li>
  </ol>
  
  <p><em>I'm not looking for a snippet extension, I'm looking for a way to automatically import default exported modules.</em></p>