pwa-synergy-api
Version:
synergy application api
16 lines • 686 B
TypeScript
import { ReactElement } from 'react';
import { Component, AppLayout, WindowApi } from '../../types';
export interface WindowContainerProps<T extends object> {
layout: AppLayout;
components: Map<string, Component<T>>;
titleBar?: (commands: T) => ReactElement;
toolBar?: (commands: T) => ReactElement;
statusBar?: (commands: T) => ReactElement;
commands: (desktopApi: WindowApi) => T;
hideTitleBar?: boolean;
hideToolBar?: boolean;
hideStatusBar?: boolean;
}
declare const WindowContainer: <T extends object>(props: WindowContainerProps<T>) => import("react/jsx-runtime").JSX.Element;
export default WindowContainer;
//# sourceMappingURL=index.d.ts.map