mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-14 07:12:19 +00:00
19 lines
380 B
Svelte
19 lines
380 B
Svelte
<script lang="ts">
|
|
import type { HTMLTdAttributes } from 'svelte/elements';
|
|
import { cn } from '$lib/utils/style.js';
|
|
|
|
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>
|