mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-24 09:18:09 +00:00
modal "passphrase_type"
This commit is contained in:
parent
34d3e885b8
commit
3303c34d7f
@ -16,6 +16,7 @@ import * as ReceiveActions from '../../actions/ReceiveActions';
|
|||||||
import Pin from './Pin';
|
import Pin from './Pin';
|
||||||
import InvalidPin from './InvalidPin';
|
import InvalidPin from './InvalidPin';
|
||||||
import Passphrase from './Passphrase';
|
import Passphrase from './Passphrase';
|
||||||
|
import PassphraseType from './PassphraseType';
|
||||||
import ConfirmSignTx from './ConfirmSignTx';
|
import ConfirmSignTx from './ConfirmSignTx';
|
||||||
import ConfirmAddress, { ConfirmUnverifiedAddress } from './ConfirmAddress';
|
import ConfirmAddress, { ConfirmUnverifiedAddress } from './ConfirmAddress';
|
||||||
import RememberDevice, { ForgetDevice, DisconnectDevice } from './RememberDevice';
|
import RememberDevice, { ForgetDevice, DisconnectDevice } from './RememberDevice';
|
||||||
@ -58,6 +59,9 @@ class Modal extends Component {
|
|||||||
case "ButtonRequest_Address" :
|
case "ButtonRequest_Address" :
|
||||||
component = (<ConfirmAddress { ...this.props } />)
|
component = (<ConfirmAddress { ...this.props } />)
|
||||||
break;
|
break;
|
||||||
|
case "ButtonRequest_PassphraseType" :
|
||||||
|
component = (<PassphraseType { ...this.props } />)
|
||||||
|
break;
|
||||||
case RECEIVE.REQUEST_UNVERIFIED :
|
case RECEIVE.REQUEST_UNVERIFIED :
|
||||||
component = (<ConfirmUnverifiedAddress { ...this.props } />)
|
component = (<ConfirmUnverifiedAddress { ...this.props } />)
|
||||||
break;
|
break;
|
||||||
|
18
src/js/components/modal/PassphraseType.js
Normal file
18
src/js/components/modal/PassphraseType.js
Normal 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;
|
Loading…
Reference in New Issue
Block a user