TeaSpeak-Client/imports/shared-app/ui/modal/connect/Renderer.d.ts
2021-02-07 20:01:37 +01:00

18 lines
873 B
TypeScript

import { ConnectUiEvents, ConnectUiVariables } from "tc-shared/ui/modal/connect/Definitions";
import * as React from "react";
import { IpcRegistryDescription } from "tc-shared/events";
import { IpcVariableDescriptor } from "tc-shared/ui/utils/IpcVariable";
import { AbstractModal } from "tc-shared/ui/react-elements/ModalDefinitions";
declare class ConnectModal extends AbstractModal {
private readonly events;
private readonly variables;
private readonly connectNewTabByDefault;
constructor(events: IpcRegistryDescription<ConnectUiEvents>, variables: IpcVariableDescriptor<ConnectUiVariables>, connectNewTabByDefault: boolean);
protected onDestroy(): void;
renderBody(): React.ReactElement;
renderTitle(): string | React.ReactElement;
color(): "none" | "blue";
verticalAlignment(): "top" | "center" | "bottom";
}
export = ConnectModal;