Skip to content

Card

type Card = {
asForm?: boolean;
background?: string | ThemeColor;
cancel?: CardAction;
children: WidgetComponent[];
collapsed?: boolean;
confirm?: CardAction;
id?: string;
key?: string;
padding?: number | string | Spacing;
size?: 'sm' | 'md' | 'lg' | 'full';
status?: WidgetStatus;
theme?: 'light' | 'dark';
type: 'Card';
};
optional asForm: boolean;

optional background:
| string
| ThemeColor;

optional cancel: CardAction;

children: WidgetComponent[];

optional collapsed: boolean;

optional confirm: CardAction;

optional id: string;

optional key: string;

optional padding:
| number
| string
| Spacing;

optional size: "sm" | "md" | "lg" | "full";

optional status: WidgetStatus;

optional theme: "light" | "dark";

type: 'Card';