portfolio_site/src/lib/components/ui/pagination/pagination-content.svelte

17 lines
440 B
Svelte
Raw Normal View History

2025-02-11 15:49:58 +02:00
<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import type { WithElementRef } from "bits-ui";
import { cn } from "$lib/utils.js";
let {
ref = $bindable(null),
class: className,
children,
...restProps
}: WithElementRef<HTMLAttributes<HTMLUListElement>> = $props();
</script>
<ul bind:this={ref} class={cn("flex flex-row items-center gap-1", className)} {...restProps}>
{@render children?.()}
</ul>