import React, { Component } from 'react'; import { OrgDiagram } from '../Diagrams'; import { PageFitMode, Enabled } from 'basicprimitives'; class Sample extends Component { render() { const config = { pageFitMode: PageFitMode.FitToPage, cursorItem: 0, hasSelectorCheckbox: Enabled.True, defaultTemplateName: "contactTemplate", templates: [{ name: "contactTemplate", itemSize: { width: 120, height: 100 }, minimizedItemSize: { width: 3, height: 3 }, highlightPadding: { left: 4, top: 4, right: 4, bottom: 4 }, highlightBorderWidth: 2, onHighlightRender: ({ context: itemConfig }) => { return