aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/new.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/accounts/new.js')
-rw-r--r--ui/app/accounts/new.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/ui/app/accounts/new.js b/ui/app/accounts/new.js
new file mode 100644
index 000000000..07fc1e672
--- /dev/null
+++ b/ui/app/accounts/new.js
@@ -0,0 +1,30 @@
+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)(COMPONENTNAME)
+
+function mapStateToProps (state) {
+ return {}
+}
+
+inherits(COMPONENTNAME, Component)
+function COMPONENTNAME () {
+ Component.call(this)
+}
+
+COMPONENTNAME.prototype.render = function () {
+ const props = this.props
+
+ return (
+ h('div', {
+ style: {
+ background: 'red',
+ },
+ }, [
+ `Hello, ${props.sender}`,
+ ])
+ )
+}
+