0.1.0 • Published 7 years ago

grommet-email v0.1.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

grommet-email

Produce grommet styled HTML for use in email contexts.

Build Status Dependency Status devDependency Status

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>
);