@are-visual/virtual-table
Version:
### VirtualTable
17 lines (13 loc) • 580 B
TypeScript
import * as _are_visual_virtual_table from '@are-visual/virtual-table';
import { CSSProperties, RefObject } from 'react';
interface ScrollBarProps {
className?: string;
style?: CSSProperties;
bottom?: number | string;
zIndex?: number;
bodyRef: RefObject<HTMLTableElement>;
}
type HorizontalScrollBarOptions = Omit<ScrollBarProps, 'bodyRef'>;
declare const horizontalScrollBar: <T = any>(options?: HorizontalScrollBarOptions | undefined) => _are_visual_virtual_table.Middleware<T>;
export { horizontalScrollBar };
export type { HorizontalScrollBarOptions };