UNPKG

@faire/mjml-react

Version:

React component library to generate the HTML emails on the fly

36 lines (35 loc) 1.27 kB
import React from "react"; export interface IMjmlSocialProps { /** MJML default value: center */ align?: "left" | "right" | "center"; borderRadius?: React.CSSProperties["borderRadius"]; containerBackgroundColor?: string; /** MJML default value: #333333 */ color?: React.CSSProperties["color"]; fontFamily?: string; fontSize?: string | number; fontStyle?: string; fontWeight?: string; iconSize?: string | number; iconHeight?: string | number; iconPadding?: string | number; innerPadding?: string | number; lineHeight?: string | number; /** MJML default value: horizontal */ mode?: "horizontal" | "vertical"; paddingBottom?: string | number; paddingLeft?: string | number; paddingRight?: string | number; paddingTop?: string | number; /** MJML default value: 10px 25px */ padding?: string | number; tableLayout?: "auto" | "fixed"; textPadding?: string | number; textDecoration?: React.CSSProperties["textDecoration"]; verticalAlign?: "top" | "bottom" | "middle"; className?: string; cssClass?: string; mjmlClass?: string; children?: React.ReactNode; } export declare function MjmlSocial({ children, ...props }: IMjmlSocialProps): React.JSX.Element;