title: TypeError: _form2.default.create(...) is not a function
body: <p>I'm trying to create a simple Login form with ant-design-pro for React + TypeScript. But it says:
  <strong>TypeError: _form2.default.create(...) is not a function</strong></p>
  <pre><code>./node_modules/ant-design-pro/lib/Login/index.js
  D:/projects/test/node_modules/ant-design-pro/lib/Login/index.js:219
  </code></pre>
  <p>My code looks something like this:</p>
  <pre><code>import Login from 'ant-design-pro/lib/Login';
  const { Tab, UserName, Password,Submit } = Login;
  const Auth = () =&gt; {
      ...
      return (
          &lt;div className=&quot;login-warp&quot;&gt;
              &lt;Login
                  defaultActiveKey={type}
                  onTabChange={onTabChange}
                  onSubmit={onSubmit}
              &gt;
                  &lt;Tab key=&quot;tab1&quot; tab=&quot;Account&quot;
                       tabUtil={{addTab: (id: any) =&gt; {},removeTab: (id: any) =&gt; {},}}
                  &gt;
                       ...
                  &lt;/Tab&gt;
              &lt;/Login&gt;
          &lt;/div&gt;
      );
  }
  </code></pre>
  <p>I've tried in non typescript project, that works smooth as butter. But I guess there are some issues regarding webpack. As the complete trace contains message something like that.</p>
  <p>This project is created with default <strong>create-react-app</strong> just with <em>ts</em> template.</p>
  <p>How can I configure webpack to my project, where I can use ant-design-pro with typescript?</p>
  <p>If I comment this line like this:</p>
  <pre><code>//const { Tab, UserName, Password,Submit } = Login;
  </code></pre>
  <p>Error disappears.</p>