UNPKG

intro.js

Version:

User Onboarding and Product Walkthrough Library

20 lines (19 loc) 613 B
export type TooltipContentProps = { /** * The text content to be displayed in the tooltip. */ text: string; /** * The container element where the tooltip content will be rendered. */ container: HTMLElement; /** * If true, the text will be rendered as HTML. */ tooltipRenderAsHtml?: boolean; }; /** * TooltipContent component renders the content of a tooltip. * It can render plain text or HTML based on the `tooltipRenderAsHtml` flag. */ export declare const TooltipContent: ({ text, container, tooltipRenderAsHtml, }: TooltipContentProps) => HTMLElement;