1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 00:28:06 +01:00
metamask-extension/ui/app/accounts/import/seed.js

36 lines
722 B
JavaScript
Raw Normal View History

2016-11-04 23:08:50 +01:00
const inherits = require('util').inherits
const Component = require('react').Component
const h = require('react-hyperscript')
const PropTypes = require('prop-types')
const connect = require('react-redux').connect
SeedImportSubview.contextTypes = {
t: PropTypes.func,
}
2016-11-04 23:08:50 +01:00
module.exports = connect(mapStateToProps)(SeedImportSubview)
2016-11-04 23:08:50 +01:00
function mapStateToProps (state) {
return {}
}
inherits(SeedImportSubview, Component)
function SeedImportSubview () {
Component.call(this)
}
SeedImportSubview.prototype.render = function () {
return (
h('div', {
style: {
},
}, [
this.context.t('pasteSeed'),
2016-11-04 23:08:50 +01:00
h('textarea'),
h('br'),
h('button', this.context.t('submit')),
2016-11-04 23:08:50 +01:00
])
)
}