"use client";

import React from "react";
import { ButtonTabProps } from "./types";
import { ButtonDataflowConfigPanel } from "../ButtonDataflowConfigPanel";

/** 데이터플로우 탭: 버튼 제어관리 설정 패널 래퍼 */
export const DataflowTab: React.FC<ButtonTabProps> = ({
  component,
  onUpdateProperty,
}) => {
  return (
    <div className="space-y-4">
      <ButtonDataflowConfigPanel
        component={component}
        onUpdateProperty={onUpdateProperty}
      />
    </div>
  );
};
