title: Element type is invalid: expected string (for built-in components) or a class/function (for composite components) but got: undefined
body: <p>I'm trying to render react-bootstrap component, but it is throwing
  react-dom.development.js:28439 Uncaught Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.</p>
  <p>The error is thrown when this part of code is insert</p>
  <pre><code>                    &lt;Form.Group controlId='image'&gt;
                          &lt;Form.Label&gt;Image&lt;/Form.Label&gt;
                          &lt;Form.Control
                              type='text'
                              placeholder='Enter image url'
                              value={image}
                              onChange={(e) =&gt; setImage(e.target.value)}
                          &gt;&lt;/Form.Control&gt;
                          &lt;Form.File
                              id=&quot;image-file&quot;
                              label=&quot;Choose File&quot;
                              custom
                              onChange={uploadFileHandler}&gt;
                          &lt;/Form.File&gt;
                          {uploading &amp;&amp; &lt;Loader /&gt;}
                      &lt;/Form.Group&gt;
  </code></pre>
  <p>The error is thrown when Form.File is inserted.</p>