Skip to content

Instantly share code, notes, and snippets.

@viniciusdacal
Created February 25, 2018 14:50
Show Gist options
  • Save viniciusdacal/568782e726c1b7ee9c502344d19326e2 to your computer and use it in GitHub Desktop.
Save viniciusdacal/568782e726c1b7ee9c502344d19326e2 to your computer and use it in GitHub Desktop.
import React from 'react';
import UserForm from '../../components/User/Form/Form';
const ScreensUserForm = ({ match: { params } }) => (
<div>
<h1>
{`${!params.id ? 'Create' : 'Update'}`} User
</h1>
<UserForm id={params.id} />
</div>
);
export default ScreensUserForm;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment