@financial-times/o3-tooltip
Version:
Provides a viewport-aware tooltip for annotating or or highlighting other aspects of a product's UI
25 lines (22 loc) • 526 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');
function TooltipOnboarding({
targetId,
placement = "top",
content,
title,
contentId
}) {
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
"o3-tooltip-onboarding",
{
role: "tooltip",
placement,
"target-id": targetId,
class: "o3-tooltip",
content,
title,
"content-id": contentId
}
);
}
exports.TooltipOnboarding = TooltipOnboarding;