import {
  OrgChartExpandChangeEvent as KendoOrgChartExpandChangeEvent,
  OrgChartActionEvent as KendoOrgChartActionEvent,
} from "@progress/kendo-react-orgchart";

export interface OrgChartProps {
  dataTestId?: string;
  ariaLabel?: string;
  avatarField?: string;
  cardHeight?: number;
  cardsColors?: string[];
  cardWidth?: number;
  childrenField?: string;
  className?: string;
  data?: any[];
  expandField?: string;
  groupField?: string;
  groupSubtitleHeight?: number;
  groupSubtitleRender?: React.ComponentType;
  groupTitleHeight?: number;
  groupTitleRender?: React.ComponentType;
  hasChildrenField?: string;
  height?: string | number;
  id?: string;
  idField?: string;
  itemRender?: React.ComponentType;
  navigatable?: boolean;
  style?: React.CSSProperties;
  subtitleField?: string;
  titleField?: string;
  verticalLine?: number;
  onExpandChange?: (event: KendoOrgChartExpandChangeEvent) => void;
  onGroupAction?: (event: KendoOrgChartActionEvent) => void;
  onItemAction?: (event: KendoOrgChartActionEvent) => void;
  onItemContextMenu?: (event: KendoOrgChartActionEvent) => void;
  onItemDoubleClick?: (event: KendoOrgChartActionEvent) => void;
}
