1.0.3 • Published 9 months ago

@onwait/newsletter-subscribe v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

@onwait/newsletter-subscribe

A React component for adding newsletter subscription functionality to your website, powered by onwait.com.

Installation

npm install @onwait/newsletter-subscribe

Usage

Goto your onwait.com dashboard and get your domain id.

import { NewsletterSubscribe } from '@onwait/newsletter-subscribe';

const NewsletterSubscribeComponent = () => {
  return <NewsletterSubscribe domainId="4478643f-2a81-45a5-8158-92769dfd08b0" />;
};

You can then see your newsletter subscription emails on the onwait.com dashboard under the "Newsletter" tab.

You can also manually call the public API if you want to use your own components.

More info on the public API can be found here.

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago