Package Exports
- @magicbell/react-headless
- @magicbell/react-headless/dist/index.js
- @magicbell/react-headless/dist/magicbell-react-headless.esm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@magicbell/react-headless) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-headlessimport 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.