@tmlmobilidade/emails
Version:
10 lines (9 loc) • 393 B
JavaScript
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
/* * */
import { Link } from 'react-email';
import styles from './styles.js';
/* * */
export function Anchor({ href, spaceAfter, spaceBefore, text }) {
return (_jsxs(_Fragment, { children: [spaceBefore && ' ', _jsx(Link, { href: href, style: styles.link, children: text }), spaceAfter && ' '] }));
}
;