@greghowe79/the-lib 0.2.9 → 0.3.0

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.
@@ -23,7 +23,7 @@ const Button = qwik.component$(({ id, label, variant = "primary", icon, disabled
23
23
  icon && /* @__PURE__ */ jsxRuntime.jsx("span", {
24
24
  class: "button__icon",
25
25
  "aria-hidden": "true",
26
- children: typeof icon === "function" ? /* @__PURE__ */ jsxRuntime.jsx("icon", {}) : icon
26
+ children: typeof icon === "function" ? icon({}, null, 0) : icon
27
27
  }),
28
28
  /* @__PURE__ */ jsxRuntime.jsx("span", {
29
29
  class: "button__text",
@@ -21,7 +21,7 @@ const Button = component$(({ id, label, variant = "primary", icon, disabled = fa
21
21
  icon && /* @__PURE__ */ jsx("span", {
22
22
  class: "button__icon",
23
23
  "aria-hidden": "true",
24
- children: typeof icon === "function" ? /* @__PURE__ */ jsx("icon", {}) : icon
24
+ children: typeof icon === "function" ? icon({}, null, 0) : icon
25
25
  }),
26
26
  /* @__PURE__ */ jsx("span", {
27
27
  class: "button__text",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@greghowe79/the-lib",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "Collection of fast components for Qwik",
5
5
  "main": "./lib/index.qwik.mjs",
6
6
  "qwik": "./lib/index.qwik.mjs",