intro.js
Version:
User Onboarding and Product Walkthrough Library
9 lines (8 loc) • 418 B
TypeScript
import { State } from "../../dom";
import { HintTooltipProps } from "./HintTooltip";
export type ReferenceLayerProps = HintTooltipProps & {
activeHintSignal: State<number | undefined>;
targetElement: HTMLElement;
helperElementPadding: number;
};
export declare const ReferenceLayer: ({ activeHintSignal, targetElement, helperElementPadding, ...props }: ReferenceLayerProps) => () => HTMLDivElement | null;