import { jsx as _jsx } from "react/jsx-runtime";
// @ts-nocheck
import { theme } from '$constantsTheme';
import { Link as ReactEmailLink } from '@react-email/components';
import * as React from 'react';
const linkStyle = {
    color: theme.colors.primary,
    textDecoration: 'none',
    fontWeight: theme.typography.weights.medium,
};
export function Link({ href, children, style }) {
    return (_jsx(ReactEmailLink, { href: href, style: { ...linkStyle, ...style }, children: children }));
}
//# sourceMappingURL=link.js.map