diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-01 12:16:07 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-01 12:16:07 +0800 |
commit | c876428044c8e6eec300ceeb0d7ab0c44e68f8d3 (patch) | |
tree | ecf3ce70d44c9be1a7f2d26226ce37fd7fca0645 /ui/app/components/tx-view.js | |
parent | 92bd783e0c61e05772cc494a386bb5f21e9dbbb3 (diff) | |
download | tangerine-wallet-browser-c876428044c8e6eec300ceeb0d7ab0c44e68f8d3.tar tangerine-wallet-browser-c876428044c8e6eec300ceeb0d7ab0c44e68f8d3.tar.gz tangerine-wallet-browser-c876428044c8e6eec300ceeb0d7ab0c44e68f8d3.tar.bz2 tangerine-wallet-browser-c876428044c8e6eec300ceeb0d7ab0c44e68f8d3.tar.lz tangerine-wallet-browser-c876428044c8e6eec300ceeb0d7ab0c44e68f8d3.tar.xz tangerine-wallet-browser-c876428044c8e6eec300ceeb0d7ab0c44e68f8d3.tar.zst tangerine-wallet-browser-c876428044c8e6eec300ceeb0d7ab0c44e68f8d3.zip |
Add TxView, use width percentages instead of flex-grow for layout
Diffstat (limited to 'ui/app/components/tx-view.js')
-rw-r--r-- | ui/app/components/tx-view.js | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js new file mode 100644 index 000000000..b10589035 --- /dev/null +++ b/ui/app/components/tx-view.js @@ -0,0 +1,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 +} |