UNPKG

@ui5/webcomponents-react

Version:

React Wrapper for UI5 Web Components and additional components

13 lines (12 loc) 519 B
import type { ReactTableHooks } from '../types/index.js'; /** * A plugin hook for manual row selection. * * @param {string} [manualRowSelectedKey='isSelected'] - If this key is found on the original data row, and it is true, this row will be manually selected. * * __Note:__ Per default, this hook sets `reactTableOptions.autoResetSelectedRows = false` if not defined. */ export declare const useManualRowSelect: (manualRowSelectedKey?: string) => { (hooks: ReactTableHooks): void; pluginName: string; };