aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/import/index.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-01-18 05:47:30 +0800
committerDan Finlay <dan@danfinlay.com>2017-01-18 05:47:30 +0800
commit77bd010543855fafe21ac37e282bc8137ef7a7d8 (patch)
tree37781e98c19b50d1868af2277a9d55f29c0efa55 /ui/app/import/index.js
parent1f2840a7beff0cde617f1caf7cb7070507c81f7d (diff)
downloadtangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar.gz
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.tar.zst
tangerine-wallet-browser-77bd010543855fafe21ac37e282bc8137ef7a7d8.zip
Add "import account" menu item + template view
Diffstat (limited to 'ui/app/import/index.js')
-rw-r--r--ui/app/import/index.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/app/import/index.js b/ui/app/import/index.js
new file mode 100644
index 000000000..89c79bedc
--- /dev/null
+++ b/ui/app/import/index.js
@@ -0,0 +1,36 @@
+const inherits = require('util').inherits
+const Component = require('react').Component
+const h = require('react-hyperscript')
+const connect = require('react-redux').connect
+
+module.exports = connect(mapStateToProps)(ImportIndex)
+
+function mapStateToProps (state) {
+ return {}
+}
+
+inherits(ImportIndex, Component)
+function ImportIndex () {
+ Component.call(this)
+}
+
+ImportIndex.prototype.render = function () {
+ const props = this.props
+
+
+ return (
+
+ h('.accounts-section.flex-grow', [
+
+ // subtitle and nav
+ h('.section-title.flex-center', [
+ h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
+ onClick: this.goHome.bind(this),
+ }),
+ h('h2.page-subtitle', 'Select Account'),
+ ]),
+
+ ])
+ )
+}
+