diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-05-22 05:15:34 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-05-22 05:15:34 +0800 |
commit | 3c90024564bee78fe0a9178d3772efaabe147ac5 (patch) | |
tree | 76b574c49742f6a77835907bfddaa286d9daa557 /ui/app | |
parent | 6209224a6c1129817ebb4cd4a433cf456631c33a (diff) | |
download | tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.gz tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.bz2 tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.lz tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.xz tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.tar.zst tangerine-wallet-browser-3c90024564bee78fe0a9178d3772efaabe147ac5.zip |
Label the pending tx icon with a tooltip
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/components/transaction-list-item-icon.js | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/ui/app/components/transaction-list-item-icon.js b/ui/app/components/transaction-list-item-icon.js index d63cae259..03c6f6615 100644 --- a/ui/app/components/transaction-list-item-icon.js +++ b/ui/app/components/transaction-list-item-icon.js @@ -1,6 +1,7 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits +const Tooltip = require('./tooltip') const Identicon = require('./identicon') @@ -32,11 +33,17 @@ TransactionIcon.prototype.render = function () { }) case 'submitted': - return h('i.fa.fa-ellipsis-h', { - style: { - fontSize: '27px', - }, - }) + return h(Tooltip, { + title: 'Pending', + position: 'bottom', + }, + [ + h('i.fa.fa-ellipsis-h', { + style: { + fontSize: '27px', + }, + }) + ]) } if (isMsg) { |