UNPKG

responsive-react-email

Version:

A utility for writing responsive email templates with react-email

2 lines 477 B
import{a as m,b as e}from"./chunk-YJ3XZFGN.mjs";import{a as o}from"./chunk-FL3JXKXB.mjs";import n from"react";var u=({pX:t=0,pY:i=0,columnOneContent:l,columnTwoContent:a,columnOneStyles:p,columnTwoStyles:c,styles:d})=>{let r=t?(600-2*t)/2:300;return n.createElement(o,{style:{...m,...d,padding:`${i}px ${t}px`}},n.createElement(o,{style:{...e,...p,maxWidth:r}},l),n.createElement(o,{style:{...e,...c,maxWidth:r}},a))};export{u as a}; //# sourceMappingURL=chunk-OSBJSB3V.mjs.map