Skip to content

Instantly share code, notes, and snippets.

Created Sep 17, 2017
What would you like to do?
import React from 'react';
import { Field } from 'redux-form';
import Text from '../components/text';
export const FormComponent = ({ handleSubmit, onSubmit }) => {
return (
<h1>My Very own Form</h1>
<form onSubmit={handleSubmit(onSubmit)}>
label="First Name"
<button type="submit">Submit</button>
export default FormComponent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment