Created
February 20, 2014 04:32
-
-
Save zpao/9107147 to your computer and use it in GitHub Desktop.
Simple snippet to expand into a basic React component using JSX
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[ | |
var ${1:component} = React.createClass({ | |
render: function() { | |
return ( | |
${2:<div />} | |
); | |
} | |
}); | |
]]></content> | |
<tabTrigger>R.cc</tabTrigger> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment