2015-03-25 16:30:35 +08:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
var React = require('React');
|
|
|
|
|
|
|
|
|
|
// Comment
|
2015-03-26 07:31:23 +08:00
|
|
|
module.exports = class extends React.Component {
|
2015-03-25 16:30:35 +08:00
|
|
|
constructor(props, context) {
|
|
|
|
|
super(props, context);
|
|
|
|
|
|
|
|
|
|
this.state = {
|
|
|
|
|
foo: 'bar',
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
return <div />;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
module.exports.propTypes = {
|
|
|
|
|
foo: React.PropTypes.bool,
|
|
|
|
|
};
|