react-crud-mobile 1.3.218 → 1.3.220

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.218",
3
+ "version": "1.3.220",
4
4
  "license": "MIT",
5
5
  "description": "Uma biblioteca de componentes para React Native",
6
6
  "main": "dist/index.js",
@@ -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 Aux = dialog?.component({ crud: dialog.crud, scope: dialog.scope });
129
129
 
130
- return <Aux key={curr.uuid} crud={curr} />;
130
+ console.log(Aux);
131
+ return <>{Aux}</>;
131
132
  }
132
133
 
133
134
  return (
@@ -139,6 +140,8 @@ export default function UIModal({
139
140
 
140
141
  let content = <Content />;
141
142
 
143
+ console.log(content);
144
+
142
145
  if (original.transient) {
143
146
  return <View style={style('modalSafe')}>{content}</View>;
144
147
  }