import type { DockerWidgetConfig, WidgetEditFormProps, } from "@/types/homepage-types"; import { SingleHostEditForm } from "@/features/homepage/dialogs/SingleHostEditForm"; export function DockerWidgetEditForm({ config, onChange, }: WidgetEditFormProps) { return ( onChange({ ...config, hostId })} filter={(h) => !!(h.enableSsh && h.enableDocker)} /> ); }