UNPKG

@jigoooo/shared-ui

Version:

A reusable React component library and design system with TypeScript support, built on Vite for seamless integration and optimized performance.

6 lines (5 loc) 289 B
import { RefObject } from 'react'; export declare function useTableScrollToFn(bodyRef: RefObject<HTMLDivElement | null>): (offset: number, options: { adjustments?: number; behavior?: "auto" | "smooth"; }, instance: import('@tanstack/react-virtual').Virtualizer<any, any>) => void;