Skip to content

Topol Section

ts
type TopolSection = {
  tagName: "mj-section";
  attributes: {
    "full-width": string;
    padding: string;
    "background-color"?: string;
    "border-top"?: string;
    "border-right"?: string;
    "border-left"?: string;
    "border-bottom"?: string;
    "in-group"?: boolean; //do not stack on mobile
    "background-url"?: string;
    "background-size"?: string;
    "background-repeat"?: string;
    containerWidth?: number;
    "css-class"?: "hide_section_on_desktop" | "hide_section_on_mobile";
  };
  children: TopolColumn[];
  layout: number;
  backgroundColor?: null | string;
  backgroundImage?: null | string;
  paddingTop: number | string;
  paddingBottom: number | string;
  paddingLeft: number | string;
  paddingRight: number | string;
  uid: string;
};