@financial-times/o3-tooltip
Version:
Provides a viewport-aware tooltip for annotating or or highlighting other aspects of a product's UI
24 lines (21 loc) • 462 B
JavaScript
;Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');
function TooltipToggle({
id,
placement = "top",
content,
title,
infoLabel
}) {
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
"o3-tooltip-toggle",
{
id,
placement,
class: "o3-tooltip",
content,
title,
"info-label": infoLabel
}
);
}
exports.TooltipToggle = TooltipToggle;