Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var MyComponent = React.createClass(
- {
- test: function () {
- this.setState({ editing: true });
- },
- render: function () {
- return (<div>Hello World</div>);
- }
- }
- );
- var MyComponent = React.createClass(
- {
- test: function () {
- this.setState({ editing: true });
- },
- render: function () {
- //return (<div>Hello World</div>);
- }
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement