@arikchakma/maily
Transform Maily content into HTML email templates.
Install maily
from your command line.
bun add @arikchakma/maily
yarn add @arikchakma/maily
npm install @arikchakma/maily
Convert React components into a HTML string.
import { render } from '@arikchakma/maily';
const html = render({
type: 'doc',
content: [
{
type: 'paragraph',
content: [
{
type: 'text',
text: 'Hello World!',
},
],
},
],
});
Feel free to submit pull requests, create issues, or spread the word.
MIT © Arik Chakma