mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
62 lines
1.3 KiB
TypeScript
62 lines
1.3 KiB
TypeScript
import loc from '../loc';
|
|
|
|
const keys = {
|
|
CopyTXID: 'copyTX_ID',
|
|
CopyBlockExplorerLink: 'copy_blockExplorer',
|
|
ExpandNote: 'expandNote',
|
|
OpenInBlockExplorer: 'open_in_blockExplorer',
|
|
CopyAmount: 'copyAmount',
|
|
CopyNote: 'copyNote',
|
|
};
|
|
|
|
const icons = {
|
|
Eye: {
|
|
iconValue: 'eye',
|
|
},
|
|
EyeSlash: {
|
|
iconValue: 'eye.slash',
|
|
},
|
|
Clipboard: {
|
|
iconValue: 'doc.on.doc',
|
|
},
|
|
Link: {
|
|
iconValue: 'link',
|
|
},
|
|
Note: {
|
|
iconValue: 'note.text',
|
|
},
|
|
};
|
|
|
|
export const CommonToolTipActions = {
|
|
CopyTXID: {
|
|
id: keys.CopyTXID,
|
|
text: loc.transactions.details_copy_txid,
|
|
icon: icons.Clipboard,
|
|
},
|
|
CopyBlockExplorerLink: {
|
|
id: keys.CopyBlockExplorerLink,
|
|
text: loc.transactions.details_copy_block_explorer_link,
|
|
icon: icons.Clipboard,
|
|
},
|
|
OpenInBlockExplorer: {
|
|
id: keys.OpenInBlockExplorer,
|
|
text: loc.transactions.details_show_in_block_explorer,
|
|
icon: icons.Link,
|
|
},
|
|
ExpandNote: {
|
|
id: keys.ExpandNote,
|
|
text: loc.transactions.expand_note,
|
|
icon: icons.Note,
|
|
},
|
|
CopyAmount: {
|
|
id: keys.CopyAmount,
|
|
text: loc.transactions.details_copy_amount,
|
|
icon: icons.Clipboard,
|
|
},
|
|
CopyNote: {
|
|
id: keys.CopyNote,
|
|
text: loc.transactions.details_copy_note,
|
|
icon: icons.Clipboard,
|
|
},
|
|
};
|