aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/token-cell.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-04-21 10:07:09 +0800
committerDan Finlay <dan@danfinlay.com>2017-04-21 10:10:22 +0800
commit9bae32e78b230ede45ab159e0022da5728f0f267 (patch)
tree27557607b4f512d5639ea0b84d863091b778ed74 /ui/app/components/token-cell.js
parentd7d13caf05f027dca86882db0a72625db8da167c (diff)
downloadtangerine-wallet-browser-9bae32e78b230ede45ab159e0022da5728f0f267.tar.gz
tangerine-wallet-browser-9bae32e78b230ede45ab159e0022da5728f0f267.tar.zst
tangerine-wallet-browser-9bae32e78b230ede45ab159e0022da5728f0f267.zip
Add functional but ugly and hard-coded token list
Diffstat (limited to 'ui/app/components/token-cell.js')
-rw-r--r--ui/app/components/token-cell.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js
new file mode 100644
index 000000000..34a12733f
--- /dev/null
+++ b/ui/app/components/token-cell.js
@@ -0,0 +1,22 @@
+const Component = require('react').Component
+const h = require('react-hyperscript')
+const inherits = require('util').inherits
+
+module.exports = TokenCell
+
+inherits(TokenCell, Component)
+function TokenCell () {
+ Component.call(this)
+}
+
+TokenCell.prototype.render = function () {
+ const props = this.props
+ const { address, symbol, string } = props
+ log.info({ address, symbol, string })
+
+ return (
+ h('li', [
+ h('span', `${symbol}: ${string}`),
+ ])
+ )
+}