Skip to content

Topol Social Block ‚Äč

ts
interface TopolSocialBlock extends TopolBlock {
  tagName: "mj-social";
  attributes: {
    padding: string;
    "text-mode": "false";
    "icon-size": string;
    align: string;
    containerWidth: number;
    "icon-padding"?: string;
    "css-class"?: "hide_on_mobile" | "hide_on_desktop";
  };
  children: TopolSocialElement[];
  style?: string;
}
ts
interface TopolSocialElement {
  tagName: "mj-social-element";
  attributes: {
    src: string;
    name: string;
    alt: string;
    href: string;
    "background-color": string;
  };
}