Closed zecka closed 2 years ago
Oups, my bad... I missed the <mj-attributes>
tag
import React from "react";
import { Mjml, MjmlHead, MjmlBody, MjmlAll, MjmlAttributes } from "mjml-react";
export const Document = ({ children }) => {
return (
<Mjml>
<MjmlHead>
<MjmlAttributes>
<MjmlAll font-family="Arial"></MjmlAll>
</MjmlAttributes>
</MjmlHead>
<MjmlBody width={500}>{children}</MjmlBody>
</Mjml>
);
};
I try to use
mj-all
component as follow:But got following error:
No matching component for tag : mj-all
Is supported by mjml-react ?