2016-11-04 23:08:50 +01:00
|
|
|
const inherits = require('util').inherits
|
|
|
|
const Component = require('react').Component
|
|
|
|
const h = require('react-hyperscript')
|
2018-03-16 01:29:45 +01:00
|
|
|
const connect = require('../../metamask-connect')
|
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-03-22 01:41:47 +01:00
|
|
|
this.props.t('pasteSeed'),
|
2016-11-04 23:08:50 +01:00
|
|
|
h('textarea'),
|
|
|
|
h('br'),
|
2018-03-22 01:41:47 +01:00
|
|
|
h('button', this.props.t('submit')),
|
2016-11-04 23:08:50 +01:00
|
|
|
])
|
|
|
|
)
|
|
|
|
}
|