1<script lang="ts">
 2	import { cn, type WithElementRef } from '$lib/components/ui/utils.js';
 3	import type { HTMLTdAttributes } from 'svelte/elements';
 4
 5	let {
 6		ref = $bindable(null),
 7		class: className,
 8		children,
 9		...restProps
10	}: WithElementRef<HTMLTdAttributes> = $props();
11</script>
12
13<td
14	bind:this={ref}
15	data-slot="table-cell"
16	class={cn(
17		'bg-clip-padding p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0',
18		className
19	)}
20	{...restProps}
21>
22	{@render children?.()}
23</td>