title: Element type is invalid: expected a string or a class/function (for composite components) but got: undefined
body: <p>I have made a separate component which can be considered as a child which I am calling in a parent component. While calling the component by importing it properly I am facing this issue</p>
  <p>I have tried to create a separate method in order to call the component and then call the method which will bring the functionality of the component but no luck.</p>
  <p>Below is the child component named as GlobalHeaderHelpLabel.js:</p>
  <pre><code>import React from &quot;react&quot;;
  import { Popover } from &quot;@salesforce/design-system-react&quot;;
  import { GlobalHeaderHelp } from &quot;@salesforce/design-system-react&quot;;
  
  const ipsum = &quot;Lorem&quot;;
  
  class GlobalHeaderHelpLabel extends React.Component {
    render() {
      return (
        &lt;GlobalHeaderHelp
          popover={
            &lt;Popover
              ariaLabelledby=&quot;help-heading&quot;
              body={
                &lt;div&gt;
                  &lt;h2 className=&quot;slds-text-heading_small&quot; id=&quot;help-heading&quot;&gt;
                    Help and Training
                  &lt;/h2&gt;
                  {ipsum}
                &lt;/div&gt;
              }
              id=&quot;header-help-popover-id&quot;
            /&gt;
          }
        /&gt;
      );
    }
  }
  
  export default GlobalHeaderHelpLabel;
  
  </code></pre>
  <p>Below is the parent component to which I am calling this child and facing the error named as GlobalHeaderLabel.js :</p>
  <pre><code>import React from &quot;react&quot;;
  import GlobalHeaderHelpLabel from &quot;./GlobalHeaderHelpLabel&quot;;
  
  class GlobalHeaderLabel extends React.Component {
    render() {
      return (
         &lt;div&gt;
            &lt;GlobalHeaderHelpLabel /&gt;;
         &lt;/div&gt;
      )
    }
  }
  
  </code></pre>
  <p>Below is the error:</p>
  <blockquote>
  <p>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>
  </blockquote>