react-tesna-utils
Version:
A versatile utility library featuring optimized functions for data manipulation, clipboard handling, text truncation, comparison, validation, and more. Designed for modern JavaScript and TypeScript projects with efficient and reusable solutions.
9 lines (8 loc) • 374 B
TypeScript
import { RefObject } from 'react';
export declare function getClosestBody(el: Element | HTMLElement | HTMLIFrameElement | null): HTMLElement | null;
export interface BodyInfoItem {
counter: number;
initialOverflow: CSSStyleDeclaration['overflow'];
}
declare const _default: (_locked?: boolean, _elementRef?: RefObject<HTMLElement>) => void;
export default _default;