/*!
 * KoliBri - The accessible HTML-Standard
 */
import { h } from './index-Brmny3Vg.js';
import { S as SpanFC } from './component-CQaxTS4u.js';

const TooltipFC = ({ label, badgeText, id, refFloating }) => {
    return (h("div", { class: "kol-tooltip__floating", hidden: label.length === 0, ref: refFloating }, h("div", { class: "kol-tooltip__arrow" }), h(SpanFC, { class: "kol-tooltip__content", id: id || undefined, badgeText: badgeText, label: label })));
};

export { TooltipFC as T };
//# sourceMappingURL=component-DTx6ZVqq.js.map

//# sourceMappingURL=component-DTx6ZVqq.js.map