-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 💄 Add UTXO disclaimer on Bitcoin like coins (#7840)
- Loading branch information
1 parent
e837167
commit 332312b
Showing
4 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"ledger-live-desktop": patch | ||
--- | ||
|
||
Add UTXO disclaimer on Receive |
22 changes: 22 additions & 0 deletions
22
apps/ledger-live-desktop/src/renderer/components/UTXOAddressAlert.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from "react"; | ||
import { Trans } from "react-i18next"; | ||
import { Text, Alert } from "@ledgerhq/react-ui"; | ||
|
||
export function UTXOAddressAlert() { | ||
return ( | ||
<Alert | ||
type={"info"} | ||
containerProps={{ p: 12, borderRadius: 8 }} | ||
renderContent={() => ( | ||
<Text | ||
variant="paragraphLineHeight" | ||
fontWeight="semiBold" | ||
color="neutral.c100" | ||
fontSize={13} | ||
> | ||
<Trans i18nKey="currentAddress.utxoWarning" /> | ||
</Text> | ||
)} | ||
/> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters