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