diff --git a/dist/index.js b/dist/index.js index da87014..18f182b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -530,7 +530,9 @@ return h(this.tag, { role: 'item' }, [h(this.component, { - props: this.source + props: { + data: this.source + } })]); } }); // wrapping for slot. diff --git a/src/item.js b/src/item.js index 8a94331..6b9051c 100644 --- a/src/item.js +++ b/src/item.js @@ -58,7 +58,7 @@ export const Item = Vue.component('virtual-list-item', { return h(this.tag, { role: 'item' }, [h(this.component, { - props: this.source + props: { data: this.source } })]) } })