@stihl-design-system/components
Version:
Welcome to the STIHL Design System react component library.
7 lines (6 loc) • 307 B
TypeScript
/**
* Returns the bounding rectangle of a DOM element or a default DOMRect object with 0 values if unavailable.
*/
export declare const getRect: (element: HTMLElement | null) => DOMRect;
export declare const SCROLL_MARGIN_INLINE = 48;
export type TabListAriaAttributes = 'aria-label' | 'aria-labelledby';