@atlaskit/onboarding
Version:
An onboarding spotlight introduces new features to users through focused messages or multi-step tours.
21 lines (20 loc) • 469 B
TypeScript
export interface ElementBoundingBox {
height: number;
left: number;
top: number;
width: number;
}
type ResizeUpdateMethod = 'polling' | 'resizeListener';
/**
* __Element box__
*
* Allows consumption of `userElementBox` hook through render props.
*
* @internal
*/
export declare const ElementBox: (props: {
element: HTMLElement;
children: (box: ElementBoundingBox) => any;
resizeUpdateMethod?: ResizeUpdateMethod;
}) => any;
export {};