@clarityhub/unity-email

1.12.0 • Public • Published

@clarityhub/unity-email

Email implementation of the Clarity Hub Unity Design System

Usage

The @clarityhub/unity-email package is meant to be transpiled from ES6+ to ES5 and then used with node.

Installation:

npm i --save @clarityhub/unity-email

Using with ES6:

import MJMLRenderer from '@clarityhub/unity-email/core/renderers/MJMLRenderer';
import EmailTemplate from '@clarityhub/unity-email/core/templates/EmailTemplate';

const renderer = new MJMLRenderer();

const { html, errors } = renderer.render(
    <EmailTemplate>
        {/* Components go here */}
    </EmailTemplate>
);

/@clarityhub/unity-email/

    Package Sidebar

    Install

    npm i @clarityhub/unity-email

    Weekly Downloads

    1

    Version

    1.12.0

    License

    MIT

    Unpacked Size

    38.3 kB

    Total Files

    33

    Last publish

    Collaborators

    • idmontie
    • loukitzanna