This package contains React headless components and hooks to build a notification inbox for your site powered by MagicBell.
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="[email protected]">
<App />
</MagicBellProvider>,
document.body,
);
Please see the MagicBell documentation for more information about this SDK.