Function MockWorkspaceNavigationSection

  • Parameters

    • Optionaloverrides: {
          colSpan?: ColSpan;
          id?: string;
          metadata?: {
              backgroundColor?: string;
              defaultItemSlug?: string;
              hideImage?: boolean;
              hideText?: boolean;
              isNavBar?: boolean;
              itemStyle?:
                  | "default"
                  | "thumbnail-only"
                  | "title-only"
                  | "navbar";
              navigationSectionItems?: (undefined | {
                  fileSlug?: string;
                  fontIcon?: {
                      key?: (...) | (...);
                      unicode?: (...) | (...);
                  };
                  slug?: string;
                  type?: NavigationSectionItemType;
              })[];
              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";
              };
              type?: NavigationSectionType;
          };
          offset?: number;
          type?: "navigation";
      }
      • OptionalcolSpan?: ColSpan
      • Optionalid?: string
      • Optionalmetadata?: {
            backgroundColor?: string;
            defaultItemSlug?: string;
            hideImage?: boolean;
            hideText?: boolean;
            isNavBar?: boolean;
            itemStyle?:
                | "default"
                | "thumbnail-only"
                | "title-only"
                | "navbar";
            navigationSectionItems?: (undefined | {
                fileSlug?: string;
                fontIcon?: {
                    key?: (...) | (...);
                    unicode?: (...) | (...);
                };
                slug?: string;
                type?: NavigationSectionItemType;
            })[];
            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";
            };
            type?: NavigationSectionType;
        }
        • OptionalbackgroundColor?: string
        • OptionaldefaultItemSlug?: string
        • OptionalhideImage?: boolean
        • OptionalhideText?: boolean
        • OptionalisNavBar?: boolean
        • OptionalitemStyle?:
              | "default"
              | "thumbnail-only"
              | "title-only"
              | "navbar"
        • OptionalnavigationSectionItems?: (undefined | {
              fileSlug?: string;
              fontIcon?: {
                  key?: (...) | (...);
                  unicode?: (...) | (...);
              };
              slug?: string;
              type?: NavigationSectionItemType;
          })[]
        • Optionalpadding?: {
              bottom?: number;
              left?: number;
              right?: number;
              top?: number;
          }
          • Optionalbottom?: number
          • Optionalleft?: number
          • Optionalright?: number
          • Optionaltop?: number
        • Optionaltitle?: string
        • OptionaltitleStyle?: {
              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";
          }
          • Optionalalign?: "left" | "right" | "center"
          • OptionalbackgroundColor?: string
          • OptionalborderThickness?: "thin" | "medium" | "thick"
          • Optionalcorner?: "rounded" | "straight"
          • OptionalfontColor?: string
          • OptionalfontFamily?: string
          • OptionalfontSize?: string
          • OptionalfontVariant?: string
          • Optionalstyle?: "solid" | "border" | "bottom-border"
        • Optionaltype?: NavigationSectionType
      • Optionaloffset?: number
      • Optionaltype?: "navigation"

    Returns DeviceApi.NavigationSection