Created
November 5, 2016 13:27
-
-
Save brianveltman/a541df54cd4230837c273f0eb8105d6c to your computer and use it in GitHub Desktop.
Create new PropType in React
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
${1:Component}.propTypes = { | |
${2:method}: React.PropTypes.${3:type}.isRequired | |
} | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>proptype</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>source.js</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment