Open reintroducing opened 6 years ago
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?
Hey, thanks for this! Works great in this situation:
When the propTypes are set to the external file, fantastic. However, if you destructure the props like so, it doesnt work:
Is there a way to make it work for these situations as well?