mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
28 lines
797 B
TypeScript
28 lines
797 B
TypeScript
import type {JsonFormObject} from 'sentry/components/forms/types';
|
|
import {t} from 'sentry/locale';
|
|
|
|
// Export route to make these forms searchable by label/help
|
|
export const route = '/settings/account/emails/';
|
|
|
|
const formGroups: JsonFormObject[] = [
|
|
{
|
|
// Form "section"/"panel"
|
|
title: t('Add Secondary Emails'),
|
|
fields: [
|
|
{
|
|
name: 'email',
|
|
type: 'string',
|
|
|
|
// additional data/props that is related to rendering of form field rather than data
|
|
label: t('Additional Email'),
|
|
placeholder: t('e.g. [email protected]'),
|
|
help: t('Designate an alternative email for this account'),
|
|
saveOnBlur: false,
|
|
saveMessage: t('Add this new email address to your account?'),
|
|
},
|
|
],
|
|
},
|
|
];
|
|
|
|
export default formGroups;
|