refactor(ui): update shared components and add ControlGroup, SidebarContainer

This commit is contained in:
Ilia Mashkov
2026-03-02 22:19:35 +03:00
parent 13818d5844
commit 0dd08874bc
33 changed files with 927 additions and 203 deletions
+7 -1
View File
@@ -7,10 +7,16 @@ import { cn } from '$shared/shadcn/utils/shadcn-utils';
import type { Snippet } from 'svelte';
interface Props {
/**
* Content snippet
*/
children?: Snippet;
/**
* CSS classes
*/
class?: string;
/**
* Custom render function for full control
* Custom render snippet
*/
render?: Snippet<[{ class: string }]>;
}