aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/new-keychain.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-16 01:48:12 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-16 01:48:12 +0800
commit1481a3ef8e3352eb74fa11c4f578d15d84c76de7 (patch)
tree46b87a06085fee9438eb3cfefd104e92395c2f2f /ui/app/new-keychain.js
parent7cba71fc5590af115997f8120ac59f1293d6e2b9 (diff)
downloadtangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar.gz
tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.tar.zst
tangerine-wallet-browser-1481a3ef8e3352eb74fa11c4f578d15d84c76de7.zip
Initial work on UI side
Diffstat (limited to 'ui/app/new-keychain.js')
-rw-r--r--ui/app/new-keychain.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/ui/app/new-keychain.js b/ui/app/new-keychain.js
new file mode 100644
index 000000000..d6fefd0c7
--- /dev/null
+++ b/ui/app/new-keychain.js
@@ -0,0 +1,33 @@
+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)(NewKeychain)
+
+function mapStateToProps (state) {
+ return {}
+}
+
+inherits(NewKeychain, Component)
+function NewKeychain () {
+ Component.call(this)
+}
+
+NewKeychain.prototype.render = function () {
+ const props = this.props
+
+ return (
+ h('div', {
+ style: {
+ background: 'blue',
+ },
+ }, [
+ h('h1',`Here's a list!!!!`),
+ h('button',
+ {
+ onClick: () => this.props.dispatch(actions.goHome())
+ })
+ ])
+ )
+}