Created
November 20, 2015 16:14
-
-
Save vijayrawatsan/65d6f90952f08acfba19 to your computer and use it in GitHub Desktop.
React Create Class Live Template
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
var React = require('react'); | |
var $NAME$ = React.createClass({ | |
getInitialState: function() { | |
return { | |
}; | |
}, | |
componentWillMount: function() { | |
}, | |
componentDidMount: function() { | |
}, | |
render: function () { | |
return ( | |
<div className="$NAME$"> | |
$END$ | |
</div> | |
) | |
} | |
}); | |
module.exports = $NAME$; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment