import { ContextMenuComponent } from 'src/app/shared/components/context-menu/context-menu.component';
import { IconName } from 'src/app/shared/components/icon/icon.component';

export interface ContextMenuGeneric<T> {
  isVisible: ContextMenuComponent['isVisible'];
  items: ContextMenuComponent['items'];
  position: ContextMenuComponent['position'];
  data?: T;
}

export interface ContextMenu<T> {
  isVisible: ContextMenuComponent['isVisible'];
  position: ContextMenuComponent['position'];
  data?: T;
}

export interface ContextMenuPosition {
  x: number;
  y: number;
}

export interface ContextMenuItem {
  icon: IconName;
  label: string;
  onClick: () => void;
}
