Asís García
Asís García
What do you think about a simpler approach? In our case, it would be enough to document our components with a generic message whenever a spread is found. So, for...
Oh, sorry! I was focused on extracting docs from the props declaration, so when I saw https://github.com/reactjs/react-docgen/blob/00f2d2d62d93b9243157c4cea19cf241121a7721/src/handlers/__tests__/propDocblockHandler-test.js#L127 I thought spread props were just being ignored altogether 😊 Thanks for the...
We just used the [list of "composed props"](https://github.com/reactjs/react-docgen/blob/00f2d2d62d93b9243157c4cea19cf241121a7721/src/handlers/__tests__/propTypeCompositionHandler-test.js) to infer the source files where they were defined. To solve the problem in styleguidist/react-styleguidist#548, we use a custom propsParser which turns...