@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
16 lines (12 loc) • 633 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
;
var index = require('./index-BrhW8s5h.js');
var component = require('./component-BUJSMbIY.js');
const TooltipFC = ({ label, badgeText, id, refFloating }) => {
return (index.h("div", { class: "kol-tooltip__floating", hidden: label.length === 0, ref: refFloating }, index.h("div", { class: "kol-tooltip__arrow" }), index.h(component.SpanFC, { class: "kol-tooltip__content", id: id || undefined, badgeText: badgeText, label: label })));
};
exports.TooltipFC = TooltipFC;
//# sourceMappingURL=component-kXVnT0Wy.js.map
//# sourceMappingURL=component-kXVnT0Wy.js.map