@lightningtv/solid
Advanced tools
Comparing version
@@ -60,3 +60,3 @@ import { For, createSignal, createMemo } from "solid-js"; | ||
{(item, index) => { | ||
return (<Dynamic component={props.item} item={item} x={(index() % columns()) * totalWidth()} y={Math.floor(index() / columns()) * totalHeight()} width={props.itemWidth} height={props.itemHeight}/>); | ||
return (<Dynamic {...item} component={props.item} width={props.itemWidth} height={props.itemHeight} x={(index() % columns()) * totalWidth()} y={Math.floor(index() / columns()) * totalHeight()}/>); | ||
}} | ||
@@ -63,0 +63,0 @@ </For> |
{ | ||
"name": "@lightningtv/solid", | ||
"version": "2.7.2", | ||
"version": "2.7.3", | ||
"description": "Lightning Renderer for Solid Universal", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
246194
-0.01%