@mediafly/frontend-api - v20.4.1
    Preparing search index...

    Function MockWorkspaceBannerSection

    • Banner sections can have both image and text type metadata in place even though only one type can be active at a time -- a bit annoying to work with.

      Parameters

      • Optionaloverrides: {
            colSpan?: ColSpan;
            id?: string;
            metadata?: {
                backgroundColor?: string;
                backgroundImage?: { slug?: string; type?: ImageSourceType };
                backgroundImageUrl?: string;
                bannerType?: "image" | "solid";
                fontColor?: string;
                fontFamily?: string;
                fontSize?: string;
                fontVariant?: string;
                height?: number;
                logoAlign?: "center" | "left" | "right";
                logoImage?: { slug?: string; type?: ImageSourceType };
                logoImageUrl?: string;
                logoText?: string;
                logoType?: "none" | "image" | "text";
            };
            offset?: number;
            type?: "banner";
        }

      Returns BannerSection