Skip to content

BoxBaseProps

type BoxBaseProps = {
align?: Alignment;
background?: string | ThemeColor;
border?: number | Border | Borders;
children?: WidgetComponent[];
flex?: number | string;
gap?: number | string;
justify?: Justification;
padding?: number | string | Spacing;
wrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
} & BlockProps;
optional align: Alignment;
optional background:
| string
| ThemeColor;
optional border:
| number
| Border
| Borders;
optional children: WidgetComponent[];
optional flex: number | string;
optional gap: number | string;
optional justify: Justification;
optional padding:
| number
| string
| Spacing;
optional wrap: "nowrap" | "wrap" | "wrap-reverse";