Skip to content

Commit

Permalink
Merge pull request #30 from tzezar/patch-1
Browse files Browse the repository at this point in the history
style: fix code sample
  • Loading branch information
orefalo authored Feb 25, 2025
2 parents 2eb1017 + e601fe6 commit 9ae9ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ This component can be used two different ways:
const data = ['A', 'B', 'C', 'D', 'E', 'F' /* ... */];
</script>
<VirtualList class='mystyle' style='width:100%;height=600px' items={data}>
<VirtualList class='mystyle' style='width:100%;height:600px;' items={data}>
{#snippet vl_slot({ index, item })}
<div>
Row: #{index} Item: {item}
Expand Down

0 comments on commit 9ae9ea2

Please sign in to comment.