aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/token-view/token-view.component.js
blob: 3e1a4a0c3b0a05c8a94fe6ad907f87ed279cdf5d (plain) (blame)
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
import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import Media from 'react-media'
import MenuBar from '../menu-bar'
import TokenViewBalance from '../token-view-balance'
// import TransactionList from '../tx-list'
import TransactionList from '../transaction-list'

export default class TokenView extends PureComponent {
  static contextTypes = {
    t: PropTypes.func,
  }

  render () {
    return (
      <div className="token-view">
        <Media
          query="(max-width: 575px)"
          render={() => <MenuBar />}
        />
        <div className="token-view__balance-wrapper">
          <TokenViewBalance />
        </div>
        <TransactionList />
      </div>
    )
  }
}