diff options
author | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 04:03:36 +0800 |
---|---|---|
committer | sdtsui <szehungdanieltsui@gmail.com> | 2017-08-03 04:03:36 +0800 |
commit | 7767f9f7ad7321d88a0b738d2c272961cc1ce286 (patch) | |
tree | 7dce6e8a22bad4160e5f1e2ff2f47eeab9e732cc /ui/app/main-container.js | |
parent | 96d3b2f35ff9cd4bb45ad04feaf30d2fb4fc2740 (diff) | |
download | tangerine-wallet-browser-7767f9f7ad7321d88a0b738d2c272961cc1ce286.tar tangerine-wallet-browser-7767f9f7ad7321d88a0b738d2c272961cc1ce286.tar.gz tangerine-wallet-browser-7767f9f7ad7321d88a0b738d2c272961cc1ce286.tar.bz2 tangerine-wallet-browser-7767f9f7ad7321d88a0b738d2c272961cc1ce286.tar.lz tangerine-wallet-browser-7767f9f7ad7321d88a0b738d2c272961cc1ce286.tar.xz tangerine-wallet-browser-7767f9f7ad7321d88a0b738d2c272961cc1ce286.tar.zst tangerine-wallet-browser-7767f9f7ad7321d88a0b738d2c272961cc1ce286.zip |
Hook up responsive sidebar
Diffstat (limited to 'ui/app/main-container.js')
-rw-r--r-- | ui/app/main-container.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ui/app/main-container.js b/ui/app/main-container.js index 592f331b5..fb768c386 100644 --- a/ui/app/main-container.js +++ b/ui/app/main-container.js @@ -3,6 +3,7 @@ const h = require('react-hyperscript') const inherits = require('util').inherits const WalletView = require('./components/wallet-view') const TxView = require('./components/tx-view') +const SlideoutMenu = require('react-burger-menu').slide module.exports = MainContainer @@ -28,9 +29,18 @@ MainContainer.prototype.render = function () { } }, [ + h(SlideoutMenu, { + isOpen: true, + }, [ + h(WalletView, { + responsiveDisplayClassname: '.phone-visible' + }), + ]), + h(WalletView, { style: { - } + }, + responsiveDisplayClassname: '.lap-visible', }, [ ]), |