2016-11-04 23:08:50 +01:00
|
|
|
const inherits = require('util').inherits
|
|
|
|
const Component = require('react').Component
|
|
|
|
const h = require('react-hyperscript')
|
|
|
|
const connect = require('react-redux').connect
|
2018-01-24 21:10:28 +01:00
|
|
|
const t = require('../../../i18n')
|
2016-11-04 23:08:50 +01:00
|
|
|
|
|
|
|
module.exports = connect(mapStateToProps)(SeedImportSubview)
|
|
|
|
|
|
|
|
function mapStateToProps (state) {
|
|
|
|
return {}
|
|
|
|
}
|
|
|
|
|
|
|
|
inherits(SeedImportSubview, Component)
|
|
|
|
function SeedImportSubview () {
|
|
|
|
Component.call(this)
|
|
|
|
}
|
|
|
|
|
|
|
|
SeedImportSubview.prototype.render = function () {
|
|
|
|
return (
|
|
|
|
h('div', {
|
|
|
|
style: {
|
|
|
|
},
|
|
|
|
}, [
|
2018-01-24 09:14:47 +01:00
|
|
|
t('pasteSeed'),
|
2016-11-04 23:08:50 +01:00
|
|
|
h('textarea'),
|
|
|
|
h('br'),
|
2018-01-24 09:14:47 +01:00
|
|
|
h('button', t('submit')),
|
2016-11-04 23:08:50 +01:00
|
|
|
])
|
|
|
|
)
|
|
|
|
}
|