Function MockWorkspaceTopMenuSection
- MockWorkspaceTopMenuSection(overrides?): DeviceApi.TopMenuSection
Parameters
Optionaloverrides: {
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";
}OptionalcolSpan?: ColSpan
Optionalid?: string
Optionalmetadata?: {
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;
}
OptionalbackgroundColor?: string
OptionalhideImage?: boolean
OptionalhideText?: boolean
OptionalitemStyle?: "text-and-image" | "text-only" | "image-only"
OptionallogoFileSlug?: string
OptionallogoImageSlug?: string
OptionalnavigationSectionItems?: (undefined | {
fileSlug?: string;
fontIcon?: {
key?: (...) | (...);
unicode?: (...) | (...);
};
slug?: string;
type?: NavigationSectionItemType;
})[]
OptionaltextColor?: string
OptionaluseEnvironmentLogo?: boolean
Optionaloffset?: number
Optionaltype?: "top-menu"
Returns DeviceApi.TopMenuSection
Deprecated