14 lines
444 B
Svelte
14 lines
444 B
Svelte
<script lang="ts">
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
import { cn } from "$lib/utils.js";
|
|
|
|
type $$Props = HTMLAttributes<HTMLTableSectionElement>;
|
|
|
|
let className: $$Props["class"] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
|
|
<thead class={cn("[&_tr]:border-b", className)} {...$$restProps} on:click on:keydown>
|
|
<slot />
|
|
</thead> |