1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
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
}
|