New to KendoReactStart a free 30-day trial

Defines a custom template for connection tooltips within the Diagram component. Use this to customize how tooltips appear when hovering over connections.

Definition

Package:@progress/kendo-react-diagram

Syntax:

tsx
import { Diagram, DiagramConnectionTooltip } from '@progress/kendo-react-diagram';

const App = () => (
  <Diagram>
    <DiagramConnectionTooltip>
      {(dataItem) => <span>{dataItem.tooltipText}</span>}
    </DiagramConnectionTooltip>
  </Diagram>
);

Properties

A render function that receives the hovered connection data item and returns the tooltip content.

Parameters:dataItemTDataItemReturns:

ReactNode

In this article
DefinitionPropertieschildren
Not finding the help you need?
Contact Support