2024-08-20 23:25:37 +04:00

11 lines
334 B
TypeScript

import type { TableSticky } from '../interface';
/** Sticky header hooks */
export default function useSticky(sticky: boolean | TableSticky, prefixCls: string): {
isSticky: boolean;
offsetHeader: number;
offsetSummary: number;
offsetScroll: number;
stickyClassName: string;
container: Window | HTMLElement;
};