/*!
 * KoliBri - The accessible HTML-Standard
 */
import { h } from '@stencil/core/internal/client';
import { S as SpanFC } from './component2.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.js.map

//# sourceMappingURL=component.js.map