1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-11-15 21:08:57 +00:00

update text for xrp minimum acc reserve notification

This commit is contained in:
slowbackspace 2019-02-25 18:07:24 +01:00
parent 8db4019086
commit 83bdf37c03
2 changed files with 8 additions and 3 deletions

View File

@ -17,7 +17,7 @@ type Props = {
cancelable?: boolean;
title: string;
className?: string;
message?: ?string;
message?: ?React.Node;
actions?: Array<CallbackAction>;
isActionInProgress?: boolean;
close?: typeof NotificationActions.close,

View File

@ -3,7 +3,7 @@
import * as React from 'react';
import Notification from 'components/Notification';
import Bignumber from 'bignumber.js';
import Link from 'components/Link';
import type { Props } from '../../index';
export default (props: Props) => {
@ -25,7 +25,12 @@ export default (props: Props) => {
key="xrp-warning"
type="warning"
title="Minimum account reserve required"
message={`The Base Reserve is a minimum amount of XRP that is required for every address in the ledger. Currently, this is ${bigReserve.toString()} XRP.`}
message={(
<>
{`Ripple addresses require a minimum balance of ${bigReserve.toString()} XRP to activate and maintain the account. `}
<Link isGreen href="https://wiki.trezor.io/Ripple_(XRP)">Learn more</Link>
</>
)}
/>,
);
}