Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 85 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. import React from 'react';
  2. import PropTypes from 'prop-types';
  3.  
  4. const SignupForm = ({ username, email, password, passwordConfirmation, submit }) => (
  5.   <form>
  6.     <input type="text" value={username} name="username" placeholder="Nom d'utilisateur" />
  7.     <input type="text" value={email} name="email" placeholder="Adresse email" />
  8.     <input type="password" value={password} name="password" placeholder="Mot de passe" />
  9.     <input
  10.       type="password"
  11.       value={passwordConfirmation}
  12.       name="passwordConfirmation"
  13.       placeholder="Confirmation du mot de passe"
  14.     />
  15.     <input type="submit" value="créer le compte" onClick={submit} />
  16.   </form>
  17. );
  18.  
  19. SignupForm.propTypes = {
  20.   username: PropTypes.string.isRequired,
  21.   email: PropTypes.string.isRequired,
  22.   password: PropTypes.string.isRequired,
  23.   passwordConfirmation: PropTypes.string.isRequired,
  24.   submit: PropTypes.func.isRequired,
  25. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top