@faire/mjml-react
Version:
React component library to generate the HTML emails on the fly
10 lines (9 loc) • 359 B
JavaScript
/*
* This file is generated. Don't edit it directly.
* Modify `scripts/generate-mjml-react.ts` to make changes to these files
*/
import React from "react";
import { convertPropsToMjmlAttributes } from "../utils";
export function MjmlHero({ children, ...props }) {
return React.createElement("mj-hero", convertPropsToMjmlAttributes(props), children);
}