RenderOrgChartPopup<TOrgChartItem extends OrgChartItem>

A default template for the organization chart’s popup that shows the name property of the data item.

function OrganizationChart() {
  return (
    <OrgChart data={data} renderPopup={RenderOrgChartPopup}></OrgChart>
  )
}

Props

RenderPopupProps

NameDescriptionType
item
The data item for which the popup was opened.
TDataItem
onClose
A function that closes the popup.
Function