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

4.5.6 • Public • Published

TypeScript code style: prettier minified minified + gzip npm version

React headless components for MagicBell

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

Quick Start

npm i @magicbell/react-headless
import React from 'react';
import ReactDOM from 'react-dom';
import { MagicBellProvider } from '@magicbell/react-headless';

ReactDOM.render(
  <MagicBellProvider apiKey={MAGICBELL_API_KEY} userEmail="john@example.com">
    <App />
  </MagicBellProvider>,
  document.body,
);

Documentation

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

Package Sidebar

Install

npm i @magicbell/react-headless

Weekly Downloads

8,789

Version

4.5.6

License

SEE LICENSE IN LICENSE

Unpacked Size

573 kB

Total Files

90

Last publish

Collaborators

  • mattoxley
  • smeijer
  • unamashana