how to export stateless component in react code example Example: export default function react export default () => ( <pre>Header</pre> )