mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
39 lines
774 B
JavaScript
39 lines
774 B
JavaScript
|
const Component = require('react').Component
|
||
|
const h = require('react-hyperscript')
|
||
|
const inherits = require('util').inherits
|
||
|
// Main Views
|
||
|
const TxView = require('./components/tx-view')
|
||
|
const WalletView = require('./components/wallet-view')
|
||
|
|
||
|
module.exports = AccountAndTransactionDetails
|
||
|
|
||
|
inherits(AccountAndTransactionDetails, Component)
|
||
|
function AccountAndTransactionDetails () {
|
||
|
Component.call(this)
|
||
|
}
|
||
|
|
||
|
AccountAndTransactionDetails.prototype.render = function () {
|
||
|
return h('div', {
|
||
|
style: {
|
||
|
display: 'flex',
|
||
|
flex: '1 0 auto',
|
||
|
},
|
||
|
}, [
|
||
|
// wallet
|
||
|
h(WalletView, {
|
||
|
style: {
|
||
|
},
|
||
|
responsiveDisplayClassname: '.lap-visible',
|
||
|
}, [
|
||
|
]),
|
||
|
|
||
|
// transaction
|
||
|
h(TxView, {
|
||
|
style: {
|
||
|
}
|
||
|
}, [
|
||
|
]),
|
||
|
])
|
||
|
}
|
||
|
|