mirror of
https://github.com/zebrajr/react.git
synced 2025-12-07 12:20:38 +01:00
21 lines
273 B
JavaScript
21 lines
273 B
JavaScript
'use strict';
|
|
|
|
var React = require('React');
|
|
|
|
// Comment
|
|
module.exports = React.createClass({
|
|
propTypes: {
|
|
foo: React.PropTypes.bool,
|
|
},
|
|
|
|
getInitialState: function() {
|
|
return {
|
|
foo: 'bar',
|
|
};
|
|
},
|
|
|
|
render: function() {
|
|
return <div />;
|
|
}
|
|
});
|