flbxcup/resources/js/components/ui/pagination/pagination-item.svelte
2025-06-23 23:12:40 +02:00

14 lines
346 B
Svelte

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