UNPKG

@1771technologies/lytenyte-pro

Version:

Blazingly fast headless React data grid with 100s of features.

18 lines (17 loc) 973 B
import { type PropsWithChildren, type Ref } from "react"; export interface TreeRootProps { readonly transitionEnter?: number; readonly transitionExit?: number; readonly gridWrappedBranches?: boolean; readonly expansions?: Record<string, boolean>; readonly expansionDefault?: boolean; readonly onExpansionChange?: (n: Record<string, boolean>) => void; readonly selectMode?: "single" | "multiple" | "none"; readonly selection?: Set<string>; readonly onSelectionChange?: (c: Set<string>) => void; readonly onFocusChange?: (el: HTMLElement | null) => void; readonly getAllIds?: (panel: HTMLElement) => Set<string>; readonly getIdsBetweenNodes?: (start: HTMLElement, end: HTMLElement, panel: HTMLElement) => string[]; readonly ref?: Ref<HTMLElement | null>; } export declare const TreeRoot: import("react").ForwardRefExoticComponent<Omit<PropsWithChildren<TreeRootProps>, "ref"> & import("react").RefAttributes<HTMLElement>>;