Skip to content

BasicRoot

type BasicRoot = {
children: (WidgetComponent | WidgetRoot)[];
direction?: 'row' | 'col';
id?: string;
key?: string;
theme?: 'light' | 'dark';
type: 'Basic';
} & Pick<BoxBaseProps, 'gap' | 'padding' | 'align' | 'justify'>;
children: (
| WidgetComponent
| WidgetRoot)[];
optional direction: "row" | "col";
optional id: string;
optional key: string;
optional theme: "light" | "dark";
type: 'Basic';