@9d8/maily-render
v0.0.12
Published
A fork of a transformer that converts Maily content into HTML email templates.
Downloads
69
Readme
Install
Install maily
from your command line.
pnpm add @maily-to/render
Getting started
Convert React components into a HTML string.
import { renderSync } from '@maily-to/render';
const html = renderSync({
type: 'doc',
content: [
{
type: 'paragraph',
content: [
{
type: 'text',
text: 'Hello World!',
},
],
},
],
});
Contributions
Feel free to submit pull requests, create issues, or spread the word.
License
MIT © Arik Chakma