react-crud-mobile 1.3.223 → 1.3.225

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-crud-mobile",
3
- "version": "1.3.223",
3
+ "version": "1.3.225",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -662,7 +662,15 @@ export default function UIElement(props: ElementType) {
662
662
  ...el,
663
663
  owner: scope,
664
664
  });
665
- let dialog = { crud: d, parent, component, scope: dialogScope, close };
665
+
666
+ let dialog = {
667
+ crud: d,
668
+ parent,
669
+ component,
670
+ scope: dialogScope,
671
+ close,
672
+ props: event.props,
673
+ };
666
674
 
667
675
  main.dialog = dialog;
668
676
  scope.toggleDialog(true);
@@ -125,9 +125,10 @@ export default function UIModal({
125
125
  const ModalInner = () => {
126
126
  let Content = () => {
127
127
  if (dialog?.component) {
128
- let Aux = dialog?.component;
128
+ let cprops = dialog.props;
129
+ let Aux = dialog.component;
129
130
 
130
- return <Aux key={curr.uuid} crud={curr} />;
131
+ return <Aux key={curr.uuid} crud={curr} {...cprops} />;
131
132
  }
132
133
 
133
134
  return (