anvil/striker-ui/types/ServerMenu.d.ts

15 lines
346 B
TypeScript
Raw Normal View History

2023-12-12 20:52:25 +00:00
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;
};