daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const myFormFields = [
  2.     {
  3.         label: 'First Name',
  4.         name: 'firstName',
  5.         placeholder: 'Name that is first',
  6.         required: false,
  7.         type: 'text',
  8.     },
  9.     {
  10.         label: 'Email',
  11.         name: 'email',
  12.         placeholder: 'Name that is first',
  13.         required: true,
  14.         type: 'email',
  15.     },
  16.     {
  17.         label: 'Select Something!',
  18.         name: 'selectSomething',
  19.         options: [
  20.             {
  21.                 data: 'Yum',
  22.                 id: 1,
  23.             },
  24.             {
  25.                 data: 'Yum',
  26.                 id: 2,
  27.             },
  28.         ],
  29.         required: false,
  30.         type: 'select',
  31.     },
  32. ];
RAW Paste Data
Top