accountEmails.tsx 681 B

12345678910111213141516171819202122232425
  1. import {JsonFormObject} from 'sentry/components/forms/types';
  2. // Export route to make these forms searchable by label/help
  3. export const route = '/settings/account/emails/';
  4. const formGroups: JsonFormObject[] = [
  5. {
  6. // Form "section"/"panel"
  7. title: 'Add Secondary Emails',
  8. fields: [
  9. {
  10. name: 'email',
  11. type: 'string',
  12. // additional data/props that is related to rendering of form field rather than data
  13. label: 'Additional Email',
  14. placeholder: 'e.g. secondary@example.com',
  15. help: 'Designate an alternative email for this account',
  16. showReturnButton: true,
  17. },
  18. ],
  19. },
  20. ];
  21. export default formGroups;