Created
June 19, 2015 17:33
-
-
Save gdumitrescu/85f9c6d8af976675622d to your computer and use it in GitHub Desktop.
RCC.sublime-snippet
This file contains 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 React = require('react'); | |
var $1 = React.createClass({ | |
mixins: [], | |
getInitialState: function() { | |
return { | |
}; | |
}, | |
render: function() { | |
return ( | |
<div className="component"> | |
$2 | |
</div> | |
); | |
} | |
}); | |
module.exports = $1; | |
]]></content> | |
<tabTrigger>rcc</tabTrigger> | |
<!-- <scope>source.js</scope> --> | |
<description>React.createClass</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment