UNPKG

@faire/mjml-react

Version:

React component library to generate the HTML emails on the fly

32 lines (31 loc) 1.07 kB
import React from "react"; export interface IMjmlColumnProps { backgroundColor?: React.CSSProperties["backgroundColor"]; border?: React.CSSProperties["border"]; borderBottom?: string; borderLeft?: string; borderRadius?: React.CSSProperties["borderRadius"]; borderRight?: string; borderTop?: string; /** MJML default value: ltr */ direction?: "ltr" | "rtl"; innerBackgroundColor?: string; paddingBottom?: string | number; paddingLeft?: string | number; paddingRight?: string | number; paddingTop?: string | number; innerBorder?: string; innerBorderBottom?: string; innerBorderLeft?: string; innerBorderRadius?: string | number; innerBorderRight?: string; innerBorderTop?: string; padding?: string | number; verticalAlign?: "top" | "bottom" | "middle"; width?: string | number; className?: string; cssClass?: string; mjmlClass?: string; children?: React.ReactNode; } export declare function MjmlColumn({ children, ...props }: IMjmlColumnProps): React.JSX.Element;