react-docgen-external-proptypes-handler
react-docgen-external-proptypes-handler copied to clipboard
Destructured prop types
Hey, thanks for this! Works great in this situation:
static propTypes = TextInputPropTypes;
When the propTypes are set to the external file, fantastic. However, if you destructure the props like so, it doesnt work:
static propTypes = {
...TextInputPropTypes,
...more props here specific to this component
};
Is there a way to make it work for these situations as well?
@reintroducing Stay tune for next version, will add support for Destructured syntax.
Any update on this?