mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
20 lines
259 B
JavaScript
20 lines
259 B
JavaScript
'use strict';
|
|
|
|
import React from 'React';
|
|
|
|
export default React.createClass({
|
|
getInitialState: function() {
|
|
return {
|
|
foo: 'bar',
|
|
};
|
|
},
|
|
|
|
propTypes: {
|
|
foo: React.PropTypes.string,
|
|
},
|
|
|
|
render: function() {
|
|
return <div />;
|
|
}
|
|
});
|