Function MockWorkspaceItemsSection
- MockWorkspaceItemsSection(overrides?): DeviceApi.ItemsSection
Parameters
Optional
overrides: {
colSpan?: ColSpan;
id?: string;
metadata?: {
backgroundColor?: string;
displayType?: ItemsSectionDisplayType;
itemSlugs?: (undefined | string)[];
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
title?: string;
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
};
};
offset?: number;
type?: "items";
}Optional
colSpan?: ColSpan
Optional
id?: string
Optional
metadata?: {
backgroundColor?: string;
displayType?: ItemsSectionDisplayType;
itemSlugs?: (undefined | string)[];
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
};
title?: string;
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
};
}
Optional
backgroundColor?: string
Optional
displayType?: ItemsSectionDisplayType
Optional
itemSlugs?: (undefined | string)[]
Optional
padding?: {
bottom?: number;
left?: number;
right?: number;
top?: number;
}
Optional
bottom?: number
Optional
left?: number
Optional
right?: number
Optional
top?: number
Optional
title?: string
Optional
titleStyle?: {
align?: "left" | "right" | "center";
backgroundColor?: string;
borderThickness?: "thin" | "medium" | "thick";
corner?: "rounded" | "straight";
fontColor?: string;
fontFamily?: string;
fontSize?: string;
fontVariant?: string;
style?: "solid" | "border" | "bottom-border";
}
Optional
align?: "left" | "right" | "center"
Optional
backgroundColor?: string
Optional
borderThickness?: "thin" | "medium" | "thick"
Optional
corner?: "rounded" | "straight"
Optional
fontColor?: string
Optional
fontFamily?: string
Optional
fontSize?: string
Optional
fontVariant?: string
Optional
style?: "solid" | "border" | "bottom-border"
Optional
offset?: number
Optional
type?: "items"
Returns DeviceApi.ItemsSection