@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
4 lines (3 loc) • 366 B
TypeScript
import type { RefCallback, MutableRefObject } from 'react';
import type { AnalyticalTableDomRef, ScrollToRefType, TableInstance } from '../types/index.js';
export declare function useScrollToRef(componentRef: (node: AnalyticalTableDomRef) => void, dispatch: TableInstance['dispatch']): [RefCallback<AnalyticalTableDomRef>, MutableRefObject<ScrollToRefType | null>];