@financial-times/o3-tooltip
Version:
Provides a viewport-aware tooltip for annotating or or highlighting other aspects of a product's UI
24 lines (23 loc) • 344 B
JavaScript
import { jsx } from "react/jsx-runtime";
function TooltipToggle({
id,
placement = "top",
content,
title,
infoLabel
}) {
return /* @__PURE__ */ jsx(
"o3-tooltip-toggle",
{
id,
placement,
class: "o3-tooltip",
content,
title,
"info-label": infoLabel
}
);
}
export {
TooltipToggle
};