refactor(ui): update shared components and add ControlGroup, SidebarContainer
This commit is contained in:
@@ -8,10 +8,22 @@ import { Label } from '$shared/ui';
|
||||
import type { ComponentProps } from 'svelte';
|
||||
|
||||
interface Props extends Pick<ComponentProps<typeof Label>, 'variant'> {
|
||||
/**
|
||||
* Stat label
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* Stat value
|
||||
*/
|
||||
value: string | number;
|
||||
/** Renders a 1px vertical divider after the stat. */
|
||||
/**
|
||||
* Show separator
|
||||
* @default false
|
||||
*/
|
||||
separator?: boolean;
|
||||
/**
|
||||
* CSS classes
|
||||
*/
|
||||
class?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user