UNPKG

ivt

Version:

Ivt Components Library

45 lines (41 loc) 1.35 kB
import { c as cn } from './utils-05LlW3Cl.mjs'; import { c as createLucideIcon } from './createLucideIcon-DLrNgMqk.mjs'; import { c as TooltipProvider, T as Tooltip, a as TooltipTrigger, b as TooltipContent } from './tooltip-BTEGteNb.mjs'; const __iconNode = [ [ "circle", { cx: "12", cy: "12", r: "10", key: "1mglay" } ], [ "path", { d: "M12 16v-4", key: "1dtifu" } ], [ "path", { d: "M12 8h.01", key: "e9boi3" } ] ]; const Info = createLucideIcon("Info", __iconNode); const TooltipIndicator = ({ children, className, classNameIcon })=>{ return /*#__PURE__*/ React.createElement(TooltipProvider, null, /*#__PURE__*/ React.createElement(Tooltip, null, /*#__PURE__*/ React.createElement(TooltipTrigger, null, /*#__PURE__*/ React.createElement(Info, { className: cn("size-4", classNameIcon) })), /*#__PURE__*/ React.createElement(TooltipContent, { side: "top", className: "bg-secondary" }, /*#__PURE__*/ React.createElement("span", { className: cn("inline-block max-w-64 text-xs", className) }, children)))); }; export { Info as I, TooltipIndicator as T }; //# sourceMappingURL=TooltipIndicator-DgBUQgOI.mjs.map