"use client";

import { InternetConfigureContainer } from "./configure";
import type { UseInternetConfigureResult } from "@/features/catalog/hooks/useInternetConfigure";

interface Props extends UseInternetConfigureResult {
  onConfirm: () => void;
}

export function InternetConfigureView(props: Props) {
  return (
    <InternetConfigureContainer
      plan={props.plan}
      loading={props.loading}
      addons={props.addons}
      installations={props.installations}
      onConfirm={props.onConfirm}
      mode={props.mode}
      setMode={props.setMode}
      selectedInstallation={props.selectedInstallation}
      setSelectedInstallationSku={props.setSelectedInstallationSku}
      selectedAddonSkus={props.selectedAddonSkus}
      setSelectedAddonSkus={props.setSelectedAddonSkus}
      currentStep={props.currentStep}
      setCurrentStep={props.setCurrentStep}
    />
  );
}
