A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/ui/app/template.js

31 lines
578 B

const inherits = require('util').inherits
const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('./metamask-connect')
module.exports = connect(mapStateToProps)(COMPONENTNAME)
9 years ago
function mapStateToProps (state) {
return {}
}
inherits(COMPONENTNAME, Component)
9 years ago
function COMPONENTNAME () {
Component.call(this)
}
9 years ago
COMPONENTNAME.prototype.render = function () {
9 years ago
const props = this.props
return (
h('div', {
style: {
background: 'blue',
9 years ago
},
}, [
9 years ago
`Hello, ${props.sender}`,
])
)
}