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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/table/index.tsx +1 -1
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
package/src/table/index.tsx
CHANGED
|
@@ -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>
|