Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

blogmail/blogmail-react

Repository files navigation

Node.js CI Node.js Package npm version

@blogmail/react

This project provides a React component for integrating blogmail.

Usage

npm install @blogmail/react

or

yarn add @blogmail/react

Minimal example

import React from "react"
import ReactDOM from "react-dom"
import Blogmail from "@blogmail/react"

const newsletterId = "newsletterId"

const App = () => <Blogmail newsletterId={newsletterId} />

ReactDOM.render(<App />, document.body)

See the example dir for a complete example based on react-create-app.