2016-10-15 19:48:12 +02: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)(NewKeychain)
|
|
|
|
|
|
|
|
function mapStateToProps (state) {
|
|
|
|
return {}
|
|
|
|
}
|
|
|
|
|
|
|
|
inherits(NewKeychain, Component)
|
|
|
|
function NewKeychain () {
|
|
|
|
Component.call(this)
|
|
|
|
}
|
|
|
|
|
|
|
|
NewKeychain.prototype.render = function () {
|
2016-10-20 20:33:18 +02:00
|
|
|
// const props = this.props
|
2016-10-15 19:48:12 +02:00
|
|
|
|
|
|
|
return (
|
|
|
|
h('div', {
|
|
|
|
style: {
|
|
|
|
background: 'blue',
|
|
|
|
},
|
|
|
|
}, [
|
2016-10-20 20:33:18 +02:00
|
|
|
h('h1', `Here's a list!!!!`),
|
2016-10-15 19:48:12 +02:00
|
|
|
])
|
|
|
|
)
|
|
|
|
}
|