grommet-email
v0.1.0
Published
Produce grommet styled HTML for use in email contexts.
Downloads
2
Readme
grommet-email
Produce grommet styled HTML for use in email contexts.
Install
npm install --save grommet-email
Use
import Email from 'grommet-email/components/Email';
import Heading from 'grommet-email/components/Heading';
import Paragraph from 'grommet-email/components/Paragraph';
const MyRenderer = () => (
<Email>
<Heading tag="h1">My Heading</Heading>
<Paragraph>My paragraph.</Paragraph>
</Email>
);