mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
18 lines
374 B
Svelte
18 lines
374 B
Svelte
<script lang="ts">
|
|
import { cn } from "$lib/utils.js";
|
|
import type { HTMLTdAttributes } from "svelte/elements";
|
|
|
|
type $$Props = HTMLTdAttributes;
|
|
|
|
let className: $$Props["class"] = undefined;
|
|
export { className as class };
|
|
</script>
|
|
|
|
<td
|
|
class={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
|
|
{...$$restProps}
|
|
on:click
|
|
on:keydown
|
|
>
|
|
<slot />
|
|
</td>
|