@1771technologies/lytenyte-pro
Version:
Blazingly fast headless React data grid with 100s of features.
9 lines (8 loc) • 314 B
JavaScript
import { useEvent, useRoot } from "@1771technologies/lytenyte-core/internal";
import {} from "@1771technologies/lytenyte-shared";
export function useProAPI(cellSelections) {
const { api: coreApi } = useRoot();
const api = coreApi;
api.cellSelections = useEvent(() => cellSelections);
return api;
}