format: whole project

This commit is contained in:
James Xylight committed 2025-02-04 16:23:31 -08:00
1 parent b883b5f6e0
commit 80269cf275
79 files changed
+590 -612

No files matched your search

+7 -8
View File
@@ -2,25 +2,24 @@
import { generateID } from '../forms/helper.js'
interface Props {
group?: string;
row?: boolean;
class?: string;
children?: import('svelte').Snippet<[any]>;
group?: string
row?: boolean
class?: string
children?: import('svelte').Snippet<[any]>
}
let {
group = generateID(),
row = false,
class: clazz = '',
children
}: Props = $props();
children,
}: Props = $props()
</script>
<div class="flex flex-col gap-1">
<div
class="flex {row ? 'flex-row flex-wrap' : 'flex-col'} gap-4 {clazz || ''}"
>
{@render children?.({ group, })}
{@render children?.({ group })}
</div>
</div>