0.0.2 • Published 2 years ago
@arikchakma/maily v0.0.2
Install
Install maily
from your command line.
With bun
bun add @arikchakma/maily
With yarn
yarn add @arikchakma/maily
With npm
npm install @arikchakma/maily
Getting started
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!',
},
],
},
],
});
Contributions
Feel free to submit pull requests, create issues, or spread the word.
License
MIT © Arik Chakma