accounts-frontend/packages/app/components/auth/resendActivation/ResendActivation.tsx

23 lines
568 B
TypeScript
Raw Permalink Normal View History

2020-07-24 21:49:11 +05:30
import React from 'react';
import { FormattedMessage as Message, defineMessages } from 'react-intl';
2019-12-07 16:58:52 +05:30
import factory from '../factory';
import Body from './ResendActivationBody';
const messages = defineMessages({
title: 'Did not received an Email',
alreadyHaveCode: 'Already have a code',
});
2016-07-24 15:47:41 +05:30
export default factory({
2020-05-24 04:38:24 +05:30
title: messages.title,
body: Body,
footer: {
color: 'blue',
2020-07-24 21:49:11 +05:30
children: <Message key="sendNewEmail" defaultMessage="Send new Email" />,
2020-05-24 04:38:24 +05:30
},
links: {
label: messages.alreadyHaveCode,
2020-05-24 04:38:24 +05:30
},
2016-07-24 15:47:41 +05:30
});