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