mirror of
https://github.com/Eugeny/tabby
synced 2025-01-08 11:19:04 +00:00
30 lines
753 B
TypeScript
30 lines
753 B
TypeScript
|
import { Injectable } from '@angular/core'
|
||
|
import { SettingsTabProvider } from './api'
|
||
|
import { HotkeySettingsTabComponent } from './components/hotkeySettingsTab.component'
|
||
|
import { WindowSettingsTabComponent } from './components/windowSettingsTab.component'
|
||
|
|
||
|
/** @hidden */
|
||
|
@Injectable()
|
||
|
export class HotkeySettingsTabProvider extends SettingsTabProvider {
|
||
|
id = 'hotkeys'
|
||
|
icon = 'keyboard'
|
||
|
title = 'Hotkeys'
|
||
|
|
||
|
getComponentType (): any {
|
||
|
return HotkeySettingsTabComponent
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
/** @hidden */
|
||
|
@Injectable()
|
||
|
export class WindowSettingsTabProvider extends SettingsTabProvider {
|
||
|
id = 'window'
|
||
|
icon = 'window-maximize'
|
||
|
title = 'Window'
|
||
|
|
||
|
getComponentType (): any {
|
||
|
return WindowSettingsTabComponent
|
||
|
}
|
||
|
}
|