ReactPropTypes

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion GoLand Rider
Nov 20, 2017
1 974
Auto Generate code for React's Component PropTypes (only useful for ES6 later)
Usage Instructions:
1. Select your Component's name
2. Press command + N (Windows is alt + insert) show Generate Group and select PropTypesGenerate, or press shift + command + alt + P (Windows is shift + ctrl + alt + P) in the macOS
3. Edit the PropTypes Table to modify default type
If you have any question or want to see more detail introductions, you can jump to Github.

Download plugin

Recent change notes

Hello, the Plugin has some changes:
1.Auto Select highLight text if you are not select text
2.Support Stateless component
3.Support Modify|Add|Delete PropTypes
More info you can jump to github

General usage instructions

1.Select your Component's name

2.Press command + N (Windows is alt + insert) show Generate Group and select PropTypesGenerate, or press shift + command + alt + P (Windows is shift + ctrl + alt + P) in the macOS

3.Edit the PropTypes Table to modify default type