diff options
Diffstat (limited to 'ui/app/components/token-view/token-view.component.js')
-rw-r--r-- | ui/app/components/token-view/token-view.component.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ui/app/components/token-view/token-view.component.js b/ui/app/components/token-view/token-view.component.js new file mode 100644 index 000000000..3e1a4a0c3 --- /dev/null +++ b/ui/app/components/token-view/token-view.component.js @@ -0,0 +1,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> + ) + } +} |