"use client";

import React from "react";
import { ComponentRegistry } from "@/lib/registry/ComponentRegistry";
import ConditionalContainerDefinition from "./index";
import { ConditionalContainerComponent } from "./ConditionalContainerComponent";
import { ConditionalContainerConfigPanel } from "./ConditionalContainerConfigPanel";

// 컴포넌트 자동 등록
if (typeof window !== "undefined") {
  ComponentRegistry.registerComponent({
    ...ConditionalContainerDefinition,
    component: ConditionalContainerComponent,
    renderer: ConditionalContainerComponent,
    configPanel: ConditionalContainerConfigPanel,
  } as any);
}

export { ConditionalContainerComponent };

