1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-25 16:38:08 +00:00

modal "passphrase_type"

This commit is contained in:
Szymon Lesisz 2018-03-29 11:33:08 +02:00
parent 34d3e885b8
commit 3303c34d7f
2 changed files with 22 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import * as ReceiveActions from '../../actions/ReceiveActions';
import Pin from './Pin';
import InvalidPin from './InvalidPin';
import Passphrase from './Passphrase';
import PassphraseType from './PassphraseType';
import ConfirmSignTx from './ConfirmSignTx';
import ConfirmAddress, { ConfirmUnverifiedAddress } from './ConfirmAddress';
import RememberDevice, { ForgetDevice, DisconnectDevice } from './RememberDevice';
@ -58,6 +59,9 @@ class Modal extends Component {
case "ButtonRequest_Address" :
component = (<ConfirmAddress { ...this.props } />)
break;
case "ButtonRequest_PassphraseType" :
component = (<PassphraseType { ...this.props } />)
break;
case RECEIVE.REQUEST_UNVERIFIED :
component = (<ConfirmUnverifiedAddress { ...this.props } />)
break;

View File

@ -0,0 +1,18 @@
/* @flow */
'use strict';
import React from 'react';
const Confirmation = (props): any => {
return (
<div className="confirm-tx">
<div className="header">
<h3>Complete the action on your TREZOR device</h3>
</div>
</div>
);
}
export default Confirmation;