Skip to content

Instantly share code, notes, and snippets.

@suzdalnitski
Last active September 4, 2018 02:03
Show Gist options
  • Save suzdalnitski/8b3269be5b6bf9266a54fa7ea0f1f42b to your computer and use it in GitHub Desktop.
Save suzdalnitski/8b3269be5b6bf9266a54fa7ea0f1f42b to your computer and use it in GitHub Desktop.
import React from 'react';
import TextField from './TextField';
const FirstNameField = ({...rest}) => (
<TextField name="firstName"
label="First name:"
{...rest} />
);
export default FirstNameField;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment