@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
10 lines (9 loc) • 495 B
TypeScript
import { type PropsWithChildren } from "react";
import type { DropEventParams, Grid } from "../+types.js";
export interface GridBoxRootProps<T> {
readonly orientation?: "vertical" | "horizontal";
readonly onRootDrop: (p: DropEventParams) => void;
readonly accepted: string[];
readonly grid: Grid<T>;
}
export declare function GridBoxRoot<T>({ grid, orientation, accepted, onRootDrop, children, }: PropsWithChildren<GridBoxRootProps<T>>): import("react/jsx-runtime").JSX.Element;