Files
pocket-id/frontend/src/lib/components/ui/table/table-body.svelte

14 lines
362 B
Svelte
Raw Normal View History

2024-08-12 11:00:25 +02:00
<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import { cn } from "$lib/utils/style.js";
type $$Props = HTMLAttributes<HTMLTableSectionElement>;
let className: $$Props["class"] = undefined;
export { className as class };
</script>
<tbody class={cn("[&_tr:last-child]:border-0", className)} {...$$restProps}>
<slot />
</tbody>