Closed
Description
I assume it's just because react-docgen does not yet use babel 7. If a stateless functional component renders a fragment using shorthand (return <></>
), react-docgen will say it could not find an exported component:
Warning: x/y/z/index.jsx matches a pattern defined in “components” or “sections” options in your style guide config but doesn’t export a component.
Metadata
Metadata
Assignees
Labels
No labels