1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-16 05:19:12 +00:00
trezor-wallet/src/js/components/modal/ConfirmSignTx.js

36 lines
869 B
JavaScript
Raw Normal View History

2018-02-20 09:30:36 +00:00
/* @flow */
'use strict';
import React from 'react';
2018-04-16 21:19:50 +00:00
import type { Props } from './index';
2018-02-20 09:30:36 +00:00
2018-04-16 21:19:50 +00:00
const Confirmation = (props: Props) => {
2018-02-20 09:30:36 +00:00
const {
amount,
address,
network,
2018-03-08 16:10:53 +00:00
coinSymbol,
2018-02-20 09:30:36 +00:00
token,
total,
selectedFeeLevel
} = props.sendForm;
return (
<div className="confirm-tx">
<div className="header">
<h3>Confirm transaction on your TREZOR</h3>
<p>Details are shown on device</p>
</div>
<div className="content">
<label>Send </label>
2018-03-08 16:10:53 +00:00
<p>{ `${amount} ${ coinSymbol }` }</p>
2018-02-20 09:30:36 +00:00
<label>To</label>
<p>{ address }</p>
<label>Fee</label>
<p>{ selectedFeeLevel.label }</p>
</div>
</div>
);
}
export default Confirmation;