@kizmann/nano-ui 0.8.31 → 0.8.32

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": "@kizmann/nano-ui",
3
- "version": "0.8.31",
3
+ "version": "0.8.32",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "author": "Eduard Kizmann <kizmann@protonmail.ch>",
@@ -294,18 +294,18 @@ export default {
294
294
  }
295
295
 
296
296
  let render = () => Arr.each(setup.content, (value, key) => {
297
- return this.ctor('renderSetup')(value, key)
297
+ return this.ctor('renderSetup')(value, key);
298
298
  });
299
299
 
300
300
  if ( Any.isFunction(setup.content) ) {
301
- render = setup.content.apply(this.scope);
301
+ render = () => setup.content.apply(this.scope);
302
302
  }
303
303
 
304
304
  if ( Any.isString(setup.content) ) {
305
- render = setup.content;
305
+ render = () => setup.content;
306
306
  }
307
307
 
308
- return h(component, props, render);
308
+ return h(component, props, { default: render });
309
309
  },
310
310
 
311
311
  render()