Skip to content

Commit

Permalink
field setup
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenGrider committed Apr 20, 2017
1 parent 3627a3d commit 1a71ee1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions blog/src/components/posts_new.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
import React, { Component } from 'react';
import { Field, reduxForm } from 'redux-form';

class PostsNew extends Component {
render() {
return (
<div>
PostsNew!
</div>
<form>
<Field
name="title"
component={}
/>
</form>
);
}
}

export default PostsNew;
export default reduxForm({
form: 'PostsNewForm'
})(PostsNew);

0 comments on commit 1a71ee1

Please sign in to comment.