mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-24 08:33:36 +00:00
27 lines
406 B
TypeScript
27 lines
406 B
TypeScript
export type MenuProps = {
|
|
tabs: TabData[];
|
|
activeTabIndex?: number;
|
|
enableMenu?: boolean;
|
|
};
|
|
|
|
export type NavItem =
|
|
| "General"
|
|
| "Network"
|
|
| "AddServer"
|
|
| "Organizations"
|
|
| "Shortcuts";
|
|
|
|
export type ServerConf = {
|
|
url: string;
|
|
alias: string;
|
|
icon: string;
|
|
};
|
|
|
|
export type TabRole = "server" | "function";
|
|
|
|
export type TabData = {
|
|
role: TabRole;
|
|
name: string;
|
|
index: number;
|
|
};
|