React Native: Reusing PropTypes suggestions when composing component

Is there a way which I do not know of for WebStorm to be able to autocomplete PropTypes for a Component wrapping another one which has defined propTypes?

An example of this would be:

Currently this doesn't seem to be supported.

Also since I'm on this topic, I thought the latest updated had aimed to support suggestions for native components props which as shown below at least for me isn't working:

Thank you!

0
1 comment

Not currently supported, please follow https://youtrack.jetbrains.com/issue/WEB-22063 for updates

 

>Also since I'm on this topic, I thought the latest updated had aimed to support suggestions for native components props which as shown below at least for me isn't working

 

https://youtrack.jetbrains.com/issue/WEB-30850 is fixed in 2018.2.2, that is not yet available for downloading

0

Please sign in to leave a comment.