title: React - How to export a pure stateless component
body: <p>How can I export a stateless pure dumb component?</p>
  
  <p>If I use class this works:</p>
  
  <pre><code>import React, { Component } from 'react';
  
  export default class Header extends Component {
      render(){
          return &lt;pre&gt;Header&lt;/pre&gt;
      }
  }
  </code></pre>
  
  <p>However if I use a pure function I cannot get it to work.</p>
  
  <pre><code>import React, { Component } from 'react';
  export default const Header = () =&gt; {
      return &lt;pre&gt;Header&lt;/pre&gt;
  }
  </code></pre>
  
  <p>Am I missing something basic?</p>