mirror of
https://github.com/facebook/react.git
synced 2026-02-24 20:53:03 +00:00
22 lines
300 B
JavaScript
22 lines
300 B
JavaScript
'use strict';
|
|
|
|
import React from 'React';
|
|
|
|
export default class extends React.Component {
|
|
constructor(props, context) {
|
|
super(props, context);
|
|
|
|
this.state = {
|
|
foo: 'bar',
|
|
};
|
|
}
|
|
|
|
static propTypes = {
|
|
foo: React.PropTypes.string,
|
|
};
|
|
|
|
render() {
|
|
return <div />;
|
|
}
|
|
}
|