refactor(ui): update shared components and add ControlGroup, SidebarContainer
This commit is contained in:
@@ -13,13 +13,42 @@ import {
|
||||
} from './config';
|
||||
|
||||
interface Props {
|
||||
/**
|
||||
* Visual variant
|
||||
* @default 'default'
|
||||
*/
|
||||
variant?: LabelVariant;
|
||||
/**
|
||||
* Label size
|
||||
* @default 'sm'
|
||||
*/
|
||||
size?: LabelSize;
|
||||
/**
|
||||
* Uppercase text
|
||||
* @default true
|
||||
*/
|
||||
uppercase?: boolean;
|
||||
/**
|
||||
* Bold text
|
||||
* @default false
|
||||
*/
|
||||
bold?: boolean;
|
||||
/**
|
||||
* Icon snippet
|
||||
*/
|
||||
icon?: Snippet;
|
||||
/**
|
||||
* Icon placement
|
||||
* @default 'left'
|
||||
*/
|
||||
iconPosition?: 'left' | 'right';
|
||||
/**
|
||||
* Content snippet
|
||||
*/
|
||||
children?: Snippet;
|
||||
/**
|
||||
* CSS classes
|
||||
*/
|
||||
class?: string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user