UNPKG

@1771technologies/lytenyte-pro

Version:

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

11 lines (10 loc) 469 B
import type { Column, Grid } from "../+types"; import type { PathBranch } from "@1771technologies/lytenyte-shared"; export interface UseColumnManagerProps<T> { readonly grid: Grid<T>; readonly query?: string; } export declare function useColumnManager<T>({ grid, query }: UseColumnManagerProps<T>): { items: (PathBranch<Column<T>> | import("@1771technologies/lytenyte-shared").PathLeaf<Column<T>>)[]; lookup: Record<string, PathBranch<Column<any>>>; };