UNPKG

primereact

Version:

A rich set of premium UI Components for React.

15 lines (14 loc) 586 B
import type { TreeNode } from '@primereact/types/headless/organizationchart'; export interface OrganizationChartNodeContextValue { node: TreeNode | undefined; expanded: boolean; leaf: boolean; selected: boolean; partiallySelected: boolean; selectable: boolean; expandable: boolean; } export declare const OrganizationChartNodeProvider: ({ value, children }: { value: OrganizationChartNodeContextValue; children: React.ReactNode; }) => import("react").JSX.Element, useOrganizationChartNodeContext: () => OrganizationChartNodeContextValue | undefined;