hightable
Version:
A dynamic windowed scrolling table component for react
14 lines (13 loc) • 596 B
TypeScript
import type { ReactNode } from 'react';
import type { HighTableProps } from '../types.js';
type Props = Pick<HighTableProps, 'selection' | 'onError' | 'onSelectionChange'> & {
/** Child components */
children: ReactNode;
};
/**
* Provide the rows selection state and logic to the table, through the SelectionContext.
*
* Only the data rows can be selected, not the header row, so row numbers are 0-based.
*/
export declare function SelectionProvider({ children, selection: controlledSelection, onError, onSelectionChange }: Props): import("react/jsx-runtime").JSX.Element;
export {};