mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-11-06 06:53:18 +00:00
Split Tab into ServerTab and FuntionalTab.
This commit is contained in:
20
app/renderer/js/components/functional-tab.js
Normal file
20
app/renderer/js/components/functional-tab.js
Normal file
@@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
|
||||
const Tab = require(__dirname + '/../components/tab.js');
|
||||
|
||||
class FunctionalTab extends Tab {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
template() {
|
||||
return `<div class="tab">
|
||||
<div class="server-tab-badge"></div>
|
||||
<div class="server-tab functional-tab">
|
||||
<i class="material-icons md-48">${this.props.materialIcon}</i>
|
||||
</div>
|
||||
</div>`;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = FunctionalTab;
|
||||
Reference in New Issue
Block a user