From 50d64627a924234ef5858b82bee8c9c33fb08f09 Mon Sep 17 00:00:00 2001 From: Sriram Viswanathan Date: Tue, 4 Apr 2017 17:57:48 -0300 Subject: [#938] Adds backup account step to forgot password flow with @anikarni --- .../backup_account_step/backup_account_step.js | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 web-ui/src/account_recovery/backup_account_step/backup_account_step.js (limited to 'web-ui/src/account_recovery/backup_account_step/backup_account_step.js') diff --git a/web-ui/src/account_recovery/backup_account_step/backup_account_step.js b/web-ui/src/account_recovery/backup_account_step/backup_account_step.js new file mode 100644 index 00000000..b4dcbaaf --- /dev/null +++ b/web-ui/src/account_recovery/backup_account_step/backup_account_step.js @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2017 ThoughtWorks, Inc. + * + * Pixelated is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Pixelated is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with Pixelated. If not, see . + */ +import React from "react"; +import {translate} from "react-i18next"; + +export const BackupAccountStep = ({ t }) => ( +
+ {t('account-recovery.backup-account-step.image-description')} +

{t('account-recovery.backup-account-step.title')}

+
+); + +BackupAccountStep.propTypes = { + t: React.PropTypes.func.isRequired +}; + +export default translate('', { wait: true })(BackupAccountStep); -- cgit v1.2.3