1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 02:58:09 +01:00
metamask-extension/ui/app/components/template.js

19 lines
365 B
JavaScript
Raw Normal View History

const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits
module.exports = NewComponent
inherits(NewComponent, Component)
2016-06-21 22:18:32 +02:00
function NewComponent () {
Component.call(this)
}
2016-06-21 22:18:32 +02:00
NewComponent.prototype.render = function () {
2016-06-21 22:56:04 +02:00
const props = this.props
return (
2016-06-21 22:56:04 +02:00
h('span', props.message)
)
}