Merge pull request #1963 from ethereum/issue#1962-hidden_panel
Create an hidden panel componentpull/3094/head
commit
04d8ead4f8
@ -0,0 +1,23 @@ |
||||
import { AbstractPanel } from './panel' |
||||
const csjs = require('csjs-inject') |
||||
const yo = require('yo-yo') |
||||
|
||||
const css = csjs` |
||||
.pluginsContainer { |
||||
display: none; |
||||
} |
||||
` |
||||
|
||||
export class HiddenPanel extends AbstractPanel { |
||||
|
||||
constructor (appStore) { |
||||
super('hiddenPanel', appStore) |
||||
} |
||||
|
||||
render () { |
||||
return yo` |
||||
<div class=${css.pluginsContainer}> |
||||
${this.view} |
||||
</div>` |
||||
} |
||||
} |
Loading…
Reference in new issue