aboutsummaryrefslogblamecommitdiffstats
path: root/ui/app/components/template.js
blob: b6ed8eaa0ac621a7f36e83b415bc1f94dfe1071c (plain) (tree)
1
2
3
4
5
6
7
8





                                            
                                 
                          


                      
                                             
                          

          
                            

   
const Component = require('react').Component
const h = require('react-hyperscript')
const inherits = require('util').inherits

module.exports = NewComponent

inherits(NewComponent, Component)
function NewComponent () {
  Component.call(this)
}

NewComponent.prototype.render = function () {
  const props = this.props

  return (
    h('span', props.message)
  )
}