2025-11-21 12:18:04 +01:00
|
|
|
<script lang="ts">
|
|
|
|
|
import { cn, type WithElementRef } from '../../tools';
|
|
|
|
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
|
|
|
|
|
|
|
|
let {
|
|
|
|
|
ref = $bindable(null),
|
|
|
|
|
class: className,
|
|
|
|
|
children,
|
|
|
|
|
...restProps
|
|
|
|
|
}: WithElementRef<HTMLAttributes<HTMLTableSectionElement>> = $props();
|
|
|
|
|
</script>
|
|
|
|
|
|
2025-11-24 01:00:50 +01:00
|
|
|
<thead bind:this={ref} data-slot="table-header" class={cn('ui:[&_tr]:border-b', className)} {...restProps}>
|
2025-11-21 12:18:04 +01:00
|
|
|
{@render children?.()}
|
|
|
|
|
</thead>
|