ui-components icon indicating copy to clipboard operation
ui-components copied to clipboard

Classes exported by name break react-docs

Open jpellizzari opened this issue 8 years ago • 1 comments

Repro:

  1. Export a react component as default
  2. Also do a named export, such as export class My Class {}

Expected: It should work

Actual: Syntax errors from the react-docs module

jpellizzari avatar Jan 08 '18 23:01 jpellizzari

I think this is a webpack or babel problem

jpellizzari avatar Jan 12 '18 21:01 jpellizzari