mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-22 15:58:31 +00:00
* Convert bootstrap to sass instead of checked in and less * Darken body, adjust header. * First pass at tab styles, each tab will need a lot of individual love tho. * Update footer to main site content, improve responsiveness. * Missing key added. * Fix dropdowns. * Convert GenerateWallet HTML over, still needs styling. * Send form. * Current rates styled. * CurrencySwap form styles. * SwapInfoHeader styled. * Finish up swap restyling, minor usability improvements for mobile. * Fix up notifications / alert customizations * Import v3 variables. * Fix notification spacing. * Align input height base with buttons. * Revert height base, add additional bootstrap overrides. * Grid overrides. * Move overrides to their own folder. Adjust naming. * Fix inconsistencies. * Style generate wallet pt 1. * Style generate wallet pt 2 * Style generate wallet pt 3 * Fix swap * Added some missing overries, fixed the fallout. * Remove header text, indicate alpha version. * Fix radio / checkbox weights. * Bind => arrow * Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown. * Fix token balances buttons, footr icons.
37 lines
824 B
JavaScript
37 lines
824 B
JavaScript
import './PaymentInfo.scss';
|
|
import React, { Component } from 'react';
|
|
import translate from 'translations';
|
|
|
|
export type Props = {
|
|
originKind: string,
|
|
originAmount: string,
|
|
paymentAddress: string
|
|
};
|
|
|
|
export default class PaymentInfo extends Component {
|
|
props: Props;
|
|
|
|
render() {
|
|
return (
|
|
<section className="SwapPayment">
|
|
<h1>
|
|
<span>
|
|
{translate('SWAP_order_CTA')}
|
|
</span>
|
|
<strong>
|
|
{' '}{this.props.originAmount} {this.props.originKind}
|
|
</strong>
|
|
<span>
|
|
{' '}{translate('SENDModal_Content_2')}
|
|
</span>
|
|
<input
|
|
className="SwapPayment-address form-control"
|
|
value={this.props.paymentAddress}
|
|
disabled
|
|
/>
|
|
</h1>
|
|
</section>
|
|
);
|
|
}
|
|
}
|