mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
34 lines
733 B
JavaScript
34 lines
733 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.account-and-transaction-details', [
|
|
// wallet
|
|
h(WalletView, {
|
|
style: {
|
|
},
|
|
responsiveDisplayClassname: '.lap-visible',
|
|
}, [
|
|
]),
|
|
|
|
// transaction
|
|
h(TxView, {
|
|
style: {
|
|
},
|
|
}, [
|
|
]),
|
|
])
|
|
}
|
|
|