Chandrasekhar Pasupuleti
Chandrasekhar Pasupuleti
Even we stuck with similar use case, any plans to add support for external imports of propTypes, below is our use case. ##### constants.js ```javascript const BUTTON_STYLES = ['A', 'B',...
I have over come this limitation by writing my own custom handler, And would like to thank @benjamn for providing such a wonderful library called [recast](https://github.com/benjamn/recast), which makes my life...
@reintroducing , Unfortunately I can't share it now, If possible will publish here for sure.
@workjalexanderfox , Here you go https://github.com/pasupuletics/learning/blob/master/react-docgen-external-proptypes-handler.js Just go through react-docgen custom handler documentation to configure.
@siddharthkp , Thats really awesome. No issues. Glad to see my name in repo.
@benwiley4000 , It should work for both. If you never mind, can you please share your project config.
@reintroducing Stay tune for next version, will add support for Destructured syntax.
Hi @sevketufuk , Configuration is as simple as using custom handlers in [react-styleguidist](https://github.com/styleguidist/react-styleguidist). Here is the docs for how to use custom handlers in [react-styleguidist docs](https://react-styleguidist.js.org/docs/configuration#handlers)
@siddharthkp , I believe most of the code was documented and self explanatory. if you still want me any help, kindly share parts of code which you want to understand.