mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-12 20:57:12 +01:00
28 lines
710 B
JavaScript
28 lines
710 B
JavaScript
import React, { PureComponent } from 'react'
|
|
import PropTypes from 'prop-types'
|
|
import Media from 'react-media'
|
|
import MenuBar from '../menu-bar'
|
|
import TransactionViewBalance from '../transaction-view-balance'
|
|
import TransactionList from '../transaction-list'
|
|
|
|
export default class TransactionView extends PureComponent {
|
|
static contextTypes = {
|
|
t: PropTypes.func,
|
|
}
|
|
|
|
render () {
|
|
return (
|
|
<div className="transaction-view">
|
|
<Media
|
|
query="(max-width: 575px)"
|
|
render={() => <MenuBar />}
|
|
/>
|
|
<div className="transaction-view__balance-wrapper">
|
|
<TransactionViewBalance />
|
|
</div>
|
|
<TransactionList />
|
|
</div>
|
|
)
|
|
}
|
|
}
|