@magicbell/magicbell-react
TypeScript icon, indicating that this package has built-in type declarations

11.0.2 • Public • Published

codecov TypeScript code style: prettier minified minified + gzip npm version

MagicBell-React

This package contains React components to build a notification inbox for your site powered by MagicBell.

Quick Start

npm i @magicbell/magicbell-react
import React from 'react';
import ReactDOM from 'react-dom';
import MagicBell, { FloatingNotificationInbox } from '@magicbell/magicbell-react';

ReactDOM.render(
  <MagicBell apiKey={MAGICBELL_API_KEY} userEmail="john@example.com">
    {(props) => <FloatingNotificationInbox height={300} {...props} />}
  </MagicBell>,
  document.body,
);

Documentation

Please see the MagicBell documentation for more information about this SDK.

Package Sidebar

Install

npm i @magicbell/magicbell-react

Weekly Downloads

6,700

Version

11.0.2

License

SEE LICENSE IN LICENSE

Unpacked Size

1.25 MB

Total Files

221

Last publish

Collaborators

  • mattoxley
  • smeijer
  • unamashana