1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 14:15:06 +01:00
metamask-extension/ui/app/accounts/new.js

31 lines
578 B
JavaScript
Raw Normal View History

2016-11-04 20:00:56 +01:00
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)
2016-11-04 20:00:56 +01:00
function mapStateToProps (state) {
return {}
}
inherits(COMPONENTNAME, Component)
function COMPONENTNAME () {
2016-11-04 20:00:56 +01:00
Component.call(this)
}
COMPONENTNAME.prototype.render = function () {
2016-11-04 20:00:56 +01:00
const props = this.props
return (
h('div', {
2016-11-04 20:00:56 +01:00
style: {
background: 'red',
2016-11-04 20:00:56 +01:00
},
}, [
`Hello, ${props.sender}`,
2016-11-04 20:00:56 +01:00
])
)
}