You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
722 B
36 lines
722 B
8 years ago
|
const inherits = require('util').inherits
|
||
|
const Component = require('react').Component
|
||
|
const h = require('react-hyperscript')
|
||
7 years ago
|
const PropTypes = require('prop-types')
|
||
|
const connect = require('react-redux').connect
|
||
|
|
||
|
SeedImportSubview.contextTypes = {
|
||
|
t: PropTypes.func,
|
||
|
}
|
||
8 years ago
|
|
||
|
module.exports = connect(mapStateToProps)(SeedImportSubview)
|
||
|
|
||
7 years ago
|
|
||
8 years ago
|
function mapStateToProps (state) {
|
||
|
return {}
|
||
|
}
|
||
|
|
||
|
inherits(SeedImportSubview, Component)
|
||
|
function SeedImportSubview () {
|
||
|
Component.call(this)
|
||
|
}
|
||
|
|
||
|
SeedImportSubview.prototype.render = function () {
|
||
|
return (
|
||
|
h('div', {
|
||
|
style: {
|
||
|
},
|
||
|
}, [
|
||
7 years ago
|
this.context.t('pasteSeed'),
|
||
8 years ago
|
h('textarea'),
|
||
|
h('br'),
|
||
7 years ago
|
h('button', this.context.t('submit')),
|
||
8 years ago
|
])
|
||
|
)
|
||
|
}
|