type TableButton = {
  variant:
    | "default"
    | "link"
    | "shaddefault"
    | "destructive"
    | "outline"
    | "secondary"
    | "ghost"
    | null
    | undefined; // e.g., "default", "primary", etc.
  name: string; // e.g., "update"
};

export type TableData = {
  name: string; // Name of the row
  value: number | string; // Numeric value for the row
  type: "Text" | "InputBtn" | "Input" | "Image"; // Allowed types for rows
  btn?: TableButton; // Optional button, only for "InputBtn" type
};
type TableProp = {
  border: string;
  width: string;
  position: string;
  grid: string;
  styles?: string;
};

export type TableCreatorProps = {
  tableObj: TableData[];
  tableProp: TableProp;
};
