@faire/mjml-react
Version:
React component library to generate the HTML emails on the fly
20 lines (19 loc) • 689 B
TypeScript
import React from "react";
export interface IMjmlAccordionElementProps {
backgroundColor?: React.CSSProperties["backgroundColor"];
border?: React.CSSProperties["border"];
fontFamily?: string;
iconAlign?: "top" | "middle" | "bottom";
iconWidth?: string | number;
iconHeight?: string | number;
iconWrappedUrl?: string;
iconWrappedAlt?: string;
iconUnwrappedUrl?: string;
iconUnwrappedAlt?: string;
iconPosition?: "left" | "right";
className?: string;
cssClass?: string;
mjmlClass?: string;
children?: React.ReactNode;
}
export declare function MjmlAccordionElement({ children, ...props }: IMjmlAccordionElementProps): JSX.Element;