1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/components/tx-view.js

54 lines
1.1 KiB
JavaScript

const Component = require('react').Component
const connect = require('react-redux').connect
const h = require('react-hyperscript')
const inherits = require('util').inherits
// const Identicon = require('./identicon')
// const AccountDropdowns = require('./account-dropdowns').AccountDropdowns
// const Content = require('./wallet-content-display')
module.exports = connect()(TxView)
// function mapStateToProps (state) {
// return {
// network: state.metamask.network,
// }
// }
inherits(TxView, Component)
function TxView () {
Component.call(this)
}
TxView.prototype.render = function () {
return h('div.tx-view.flex-column', {
style: {
width: '66.666%',
height: '82vh',
background: '#FFFFFF',
}
}, [
h('div.flex-row', {
}, [
// tab
h('div.flex-column', {
}, [
h('div', {}, 'Transactions'),
h('div', {
style: {
height: '0.5em',
color: 'black',
width: '100%',
}
})
]),
// tab2
])
])
// column
// tab row
// divider
// item
}