SHARE
TWEET

Untitled

a guest Aug 23rd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (type === "file") {
  2.       return (
  3.         <Input
  4.           type={type}
  5.           name={name}
  6.           label={label}
  7.           onChange={this.handleChange}
  8.           error={errors[name]}
  9.         />
  10.       );
  11. }
  12. else {
  13.       return (
  14.         <Input
  15.           type={type}
  16.           name={name}
  17.           value={data[name]}
  18.           label={label}
  19.           onChange={this.handleChange}
  20.           error={errors[name]}
  21.         />
  22.       );
  23. }
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