How can I export a stateless pure dumb component?
If I use class this works:
import React, { Component } from \'react\'; export default class Header ext
You can also use a function declaration instead of assignment:
export default function Header() { return Header }
Header
In your example, you already use curly brackets and return so this is apparently matching with your needs with no compromise.
return