Function MockWorkspaceTopMenuSection
- MockWorkspaceTopMenuSection(overrides?): DeviceApi.TopMenuSection
Parameters
Optional
overrides: {
colSpan?: ColSpan;
id?: string;
metadata?: {
backgroundColor?: string;
hideImage?: boolean;
hideText?: boolean;
itemStyle?: "text-and-image" | "text-only" | "image-only";
logoFileSlug?: string;
logoImageSlug?: string;
navigationSectionItems?: (undefined | {
fileSlug?: string;
fontIcon?: {
key?: (...) | (...);
unicode?: (...) | (...);
};
slug?: string;
type?: NavigationSectionItemType;
})[];
textColor?: string;
useEnvironmentLogo?: boolean;
};
offset?: number;
type?: "top-menu";
}Optional
colSpan?: ColSpan
Optional
id?: string
Optional
metadata?: {
backgroundColor?: string;
hideImage?: boolean;
hideText?: boolean;
itemStyle?: "text-and-image" | "text-only" | "image-only";
logoFileSlug?: string;
logoImageSlug?: string;
navigationSectionItems?: (undefined | {
fileSlug?: string;
fontIcon?: {
key?: (...) | (...);
unicode?: (...) | (...);
};
slug?: string;
type?: NavigationSectionItemType;
})[];
textColor?: string;
useEnvironmentLogo?: boolean;
}
Optional
backgroundColor?: string
Optional
hideImage?: boolean
Optional
hideText?: boolean
Optional
itemStyle?: "text-and-image" | "text-only" | "image-only"
Optional
logoFileSlug?: string
Optional
logoImageSlug?: string
Optional
navigationSectionItems?: (undefined | {
fileSlug?: string;
fontIcon?: {
key?: (...) | (...);
unicode?: (...) | (...);
};
slug?: string;
type?: NavigationSectionItemType;
})[]
Optional
textColor?: string
Optional
useEnvironmentLogo?: boolean
Optional
offset?: number
Optional
type?: "top-menu"
Returns DeviceApi.TopMenuSection
Deprecated