// following along http://facebook.github.io/react/docs/tutorial.html
import React from "react";
require('./style.css');
class CommentForm extends React.Component {
render() {
return (
I might be an actual form someday...
);
}
}
class CommentList extends React.Component {
render() {
return (
Down the... halfpipe!
Alice, what blasphemy!
Let her be herself, Peter,
we let you jump around all the time as well...
);
}
}
class CommentBox extends React.Component {
render() {
return (
Comments
);
}
}
class Comment extends React.Component {
render() {
return (
{this.props.author}
{this.props.children}
);
}
}
React.render(, document.getElementById("content"));