feat: implement a proper navbar
This commit is contained in:
parent
307969ffe5
commit
28f5e8dc27
4 changed files with 227 additions and 76 deletions
|
@ -121,3 +121,19 @@ export interface ContextMenuInterface {
|
|||
pointerY: number,
|
||||
items: ContextMenuItem[]
|
||||
}
|
||||
|
||||
export interface NavbarItem {
|
||||
title: string,
|
||||
icon: string,
|
||||
hasPing?: boolean, // whether to draw a "ping" icon or not
|
||||
callback: (...args: any[]) => any;
|
||||
}
|
||||
|
||||
export interface NavbarInterface {
|
||||
clientItems: NavbarItem[]
|
||||
channelItems: NavbarItem[] // search bar will require some changes
|
||||
contextName?: string
|
||||
contextIcon?: string
|
||||
guildUuid?: string
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue