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,
|
2018-03-29 11:38:09 +00:00
|
|
|
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;
|