From 8e29472bd2f1c4fbf7ab2d3e738ca9c8fd158667 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Tue, 2 May 2017 16:08:35 -0400 Subject: [PATCH] comment form --- js/components/app.js | 3 ++- js/components/commentsForm.js | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 js/components/commentsForm.js diff --git a/js/components/app.js b/js/components/app.js index ad06c8e..99c3f6a 100644 --- a/js/components/app.js +++ b/js/components/app.js @@ -1,11 +1,12 @@ import React from 'react'; import CommentsList from './CommentsList.js'; +import CommentsForm from './CommentsForm.js'; class App extends React.Component { render() { return
-

Oh hai

+
} } diff --git a/js/components/commentsForm.js b/js/components/commentsForm.js new file mode 100644 index 0000000..d30d784 --- /dev/null +++ b/js/components/commentsForm.js @@ -0,0 +1,12 @@ +import React from 'react'; + +class CommentsForm extends React.Component { + render() { + return
+ + +
+ } +} + +export default CommentsForm;