@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
10 lines (9 loc) • 491 B
JavaScript
/*!
* KoliBri - The accessible HTML-Standard
*/
import { h } from "@stencil/core";
import { SpanFC } from "../span/component";
export 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 })));
};
//# sourceMappingURL=component.js.map