mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-26 15:00:23 +05:30
19 lines
454 B
TypeScript
19 lines
454 B
TypeScript
|
import React from 'react';
|
||
|
import { FormattedMessage as Message, defineMessages } from 'react-intl';
|
||
|
|
||
|
import factory from '../factory';
|
||
|
import Body from './DeviceCodeBody';
|
||
|
|
||
|
const messages = defineMessages({
|
||
|
deviceCodeTitle: 'Device code',
|
||
|
});
|
||
|
|
||
|
export default factory({
|
||
|
title: messages.deviceCodeTitle,
|
||
|
body: Body,
|
||
|
footer: {
|
||
|
color: 'green',
|
||
|
children: <Message key="continueButton" defaultMessage="Continue" />,
|
||
|
},
|
||
|
});
|