diff options
Diffstat (limited to 'ui/responsive/app/template.js')
-rw-r--r-- | ui/responsive/app/template.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/ui/responsive/app/template.js b/ui/responsive/app/template.js deleted file mode 100644 index d15b30fd2..000000000 --- a/ui/responsive/app/template.js +++ /dev/null @@ -1,30 +0,0 @@ -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: 'blue', - }, - }, [ - `Hello, ${props.sender}`, - ]) - ) -} - |