"use client";

import React from "react";
import { ComponentRegistry } from "../../ComponentRegistry";
import { SimpleRepeaterTableDefinition } from "./index";
import { SimpleRepeaterTableComponent } from "./SimpleRepeaterTableComponent";
import { ComponentRendererProps } from "@/types/component";

// 컴포넌트 자동 등록
ComponentRegistry.registerComponent(SimpleRepeaterTableDefinition);

// console.log("✅ SimpleRepeaterTable 컴포넌트 등록 완료");

export function SimpleRepeaterTableRenderer(props: ComponentRendererProps) {
  return <SimpleRepeaterTableComponent {...props} />;
}
