mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-15 08:15:37 +00:00
WIP: Implement frontend
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Icon } from '../enums/Icon';
|
||||
|
||||
export class DropDownMenuItem {
|
||||
title: string;
|
||||
icon: Icon;
|
||||
action: () => void;
|
||||
enabled: boolean;
|
||||
|
||||
public constructor(title: string, icon: Icon, action: () => void, enabled: boolean) {
|
||||
this.title = title;
|
||||
this.icon = icon;
|
||||
this.action = action;
|
||||
this.enabled = enabled;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { Icon } from '../enums/Icon';
|
||||
|
||||
export class NavMenuItem {
|
||||
title: string;
|
||||
icon: Icon;
|
||||
route: string;
|
||||
enabled: boolean;
|
||||
|
||||
public constructor(title: string, icon: Icon, route: string, enabled: boolean) {
|
||||
this.title = title;
|
||||
this.icon = icon;
|
||||
this.route = route;
|
||||
this.enabled = enabled;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user