trevstack/client/src/lib/ui/pagination/pagination-item.svelte
2025-05-13 17:19:12 -04:00

15 lines
339 B
Svelte

<script lang="ts">
import type { WithElementRef } from 'bits-ui';
import type { HTMLLiAttributes } from 'svelte/elements';
let {
ref = $bindable(null),
children,
...restProps
}: WithElementRef<HTMLLiAttributes> = $props();
</script>
<li bind:this={ref} data-slot="pagination-item" {...restProps}>
{@render children?.()}
</li>