import { ConnectionScreen, FullScreenAppWrapper } from "@termix/plugin-sdk/ui"; import React from "react"; import { useTranslation } from "@termix/plugin-sdk/frontend"; import { DockerManager } from "./DockerManager.tsx"; import { toDockerHost, type DockerHostSource } from "./types"; interface DockerAppProps { hostId?: string; } const DockerApp: React.FC = ({ hostId }) => { const { t } = useTranslation(); return ( {(hostConfig, phase) => { if (phase === "loading") { return (
); } if (!hostConfig) { return (
); } return ( {}} /> ); }}
); }; export default DockerApp;