Skip to content

Topol Button Block

ts
interface TopolButtonBlock extends TopolBlock {
  tagName: "mj-button";
  attributes: {
    align: string;
    "background-color": string;
    color: string;
    "border-radius": string;
    "font-size": string;
    padding: string;
    "inner-padding": string;
    href: string;
    "font-family": string;
    containerWidth: number;
    width?: number;
    border?: string;
    "line-height"?: number;
    "css-class"?: "hide_on_mobile" | "hide_on_desktop";
  };
  content: string;
}