UNPKG

hightable

Version:

A dynamic windowed scrolling table component for react

13 lines (12 loc) 584 B
import type { ReactNode } from 'react'; import type { DataFrame } from '../helpers/dataframe/index.js'; import type { Selection } from '../helpers/selection.js'; interface SelectionProviderProps { selection?: Selection; onSelectionChange?: (selection: Selection) => void; data: Omit<DataFrame, 'numRows'>; numRows: number; children: ReactNode; } export declare function SelectionProvider({ children, data, numRows, selection: inputSelection, onSelectionChange: inputOnSelectionChange }: SelectionProviderProps): import("react/jsx-runtime").JSX.Element; export {};