@youngonesworks/ui 0.1.17 → 0.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -102935,10 +102935,10 @@ const ActionIcon = forwardRef(({ title, disabled = false, styleVariant = "defaul
102935
102935
  "data-tooltip-id": title,
102936
102936
  "data-tooltip-content": title,
102937
102937
  ...props,
102938
- children: formatIcon(icon, {
102938
+ children: icon ? formatIcon(icon, {
102939
102939
  stroke: strokeWidth,
102940
102940
  size: iconSize
102941
- })
102941
+ }) : props.children
102942
102942
  }), /* @__PURE__ */ jsx(M, {
102943
102943
  id: title,
102944
102944
  className: "z-[99]"