10 lines
162 B
Svelte
10 lines
162 B
Svelte
<script>
|
|
import { getContext } from "svelte"
|
|
|
|
const { rows } = getContext("grid")
|
|
</script>
|
|
|
|
<div>
|
|
{$rows.length} row{$rows.length === 1 ? "" : "s"}
|
|
</div>
|