title: React-strap renaming components
body: <p>In React-strap, components have the name 'Example' by default. Can someone explain to me why I get the below duplicate error, </p>
  
  <blockquote>
    <p>Module build failed:
    D:/workspace/html5/rnd/react/scotch-io-routing-react/src/bsp/nav.component.jsx:
    Duplicate declaration "Nav"</p>
  </blockquote>
  
  <p>If I do this to the Navbar component:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>//in bsp/nav.component.jsx
  export default class Nav extends React.Component {
    constructor(props) {
      super(props);
  
      this.toggle = this.toggle.bind(this);
      this.state = {
        isOpen: false
      };
    }
    ...</code></pre>
  </div>
  </div>
  </p>
  
  <p>Changing it back to Example and things are fine. I am trying to understand what I am doing wrong here, is it inheritance related?</p>
  
  <p>I owe you a cup of coffe!</p>