import { ComponentData } from "@/types/screen";

export interface TitleBlock {
  id: string;
  type: "text" | "field";
  value: string;
  tableName?: string;
  label?: string;
}

export interface ButtonConfigPanelProps {
  component: ComponentData;
  onUpdateProperty: (path: string, value: any) => void;
  allComponents?: ComponentData[];
  currentTableName?: string;
  currentScreenCompanyCode?: string;
}

export interface ScreenOption {
  id: number;
  name: string;
  description?: string;
}

export interface ButtonTabProps {
  component: ComponentData;
  onUpdateProperty: (path: string, value: any) => void;
  allComponents: ComponentData[];
  currentTableName?: string;
  currentScreenCompanyCode?: string;
}
