You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
710 B
27 lines
710 B
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>
|
|
)
|
|
}
|
|
}
|
|
|