import { jsx as _jsx } from "react/jsx-runtime";
// @ts-nocheck
import { Section as ReactEmailSection } from '@react-email/components';
import * as React from 'react';
const spacingValues = {
    none: '0',
    sm: '12px 0',
    md: '20px 0',
    lg: '32px 0',
};
export function Section({ children, align = 'left', spacing = 'md', style, }) {
    return (_jsx(ReactEmailSection, { style: {
            textAlign: align,
            margin: spacingValues[spacing],
            ...style,
        }, children: children }));
}
//# sourceMappingURL=section.js.map