0.0.2 • Published 2 years ago

@arikchakma/maily v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

0.0.2

2 years ago

0.0.1

2 years ago