next-recomponents 2.0.5 → 2.0.6

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
@@ -35780,7 +35780,7 @@ function ModalDialog({ open, onClose, modal, selectedRow }) {
35780
35780
  ) }),
35781
35781
  /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "mt-4 m-auto p-5", children: selectedRow && import_react4.default.cloneElement(
35782
35782
  modal,
35783
- { row: selectedRow }
35783
+ { row: selectedRow, hide: onClose }
35784
35784
  ) })
35785
35785
  ] });
35786
35786
  }
package/dist/index.mjs CHANGED
@@ -35760,7 +35760,7 @@ function ModalDialog({ open, onClose, modal, selectedRow }) {
35760
35760
  ) }),
35761
35761
  /* @__PURE__ */ jsx6("div", { className: "mt-4 m-auto p-5", children: selectedRow && React3.cloneElement(
35762
35762
  modal,
35763
- { row: selectedRow }
35763
+ { row: selectedRow, hide: onClose }
35764
35764
  ) })
35765
35765
  ] });
35766
35766
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-recomponents",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "description nueva",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -173,7 +173,7 @@ function ModalDialog({ open, onClose, modal, selectedRow }: ModalDialogProps) {
173
173
  {selectedRow &&
174
174
  React.cloneElement(
175
175
  modal as React.ReactElement,
176
- { row: selectedRow } as any,
176
+ { row: selectedRow, hide: onClose } as any,
177
177
  )}
178
178
  </div>
179
179
  </Dialog>