@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
14 lines (13 loc) • 766 B
TypeScript
import { type PropsWithChildren } from "react";
import type { Grid } from "../+types";
import type { UseTreeFilterReturn } from "./hooks/use-filter-tree";
import { type SlotComponent } from "@1771technologies/lytenyte-core/yinternal";
export type FilterTreeRootProps<T> = UseTreeFilterReturn<T>["rootProps"] & {
readonly grid: Grid<T>;
readonly loadingAs?: SlotComponent;
readonly errorAs?: SlotComponent<{
error: any;
refetch: () => void;
}>;
};
export declare function Root<T>({ grid, treeRef, filterIn, pivotMode, columnId, children, error, loading, errorAs, loadingAs, fetchItems, items, applyChangesImmediately, filterInChange, ...rootProps }: PropsWithChildren<FilterTreeRootProps<T>>): import("react/jsx-runtime").JSX.Element;