anvil/striker-ui/types/ServerMenu.d.ts
2023-12-12 15:52:25 -05:00

15 lines
346 B
TypeScript

type ServerPowerOption = {
description: import('react').ReactNode;
label: string;
path: string;
colour?: Exclude<ContainedButtonBackground, 'normal'>;
};
type MapToServerPowerOption = Record<string, ServerPowerOption>;
type ServerMenuProps = ButtonWithMenuProps & {
serverName: string;
serverState: string;
serverUuid: string;
};