Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const myFormFields = [
- {
- label: 'First Name',
- name: 'firstName',
- placeholder: 'Name that is first',
- required: false,
- type: 'text',
- },
- {
- label: 'Email',
- name: 'email',
- placeholder: 'Name that is first',
- required: true,
- type: 'email',
- },
- {
- label: 'Select Something!',
- name: 'selectSomething',
- options: [
- {
- data: 'Yum',
- id: 1,
- },
- {
- data: 'Yum',
- id: 2,
- },
- ],
- required: false,
- type: 'select',
- },
- ];
Add Comment
Please, Sign In to add comment