next-recomponents 1.2.7 → 1.2.9

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
@@ -3041,7 +3041,7 @@ function Button(_a) {
3041
3041
  }
3042
3042
  }
3043
3043
  setNewProps(np);
3044
- }, []);
3044
+ }, [children]);
3045
3045
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
3046
3046
  "button",
3047
3047
  __spreadProps(__spreadValues({}, newProps), {
package/dist/index.mjs CHANGED
@@ -3027,7 +3027,7 @@ function Button(_a) {
3027
3027
  }
3028
3028
  }
3029
3029
  setNewProps(np);
3030
- }, []);
3030
+ }, [children]);
3031
3031
  return /* @__PURE__ */ jsxs(
3032
3032
  "button",
3033
3033
  __spreadProps(__spreadValues({}, newProps), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -47,7 +47,7 @@ export default function Button({
47
47
  }
48
48
  }
49
49
  setNewProps(np);
50
- }, []);
50
+ }, [children]);
51
51
  return (
52
52
  <button
53
53
  {...newProps}