This package has been deprecated

Author message:

deprecated, please read the docs for more info.

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

11.5.0 • Public • Published

@magicbell/magicbell-react

This package is deprecated. Please use @magicbell/react instead.

- import MagicBell, { FloatingNotificationInbox } from '@magicbell/magicbell-react';
+ import Provider from "@magicbell/react/context-provider";
+ import FloatingInbox from "@magicbell/react/floating-inbox";

function App(props: any) {
  return (
-   <MagicBell apiKey={MAGICBELL_API_KEY} userEmail="john@example.com">
-     {(props) => <FloatingNotificationInbox height={300} {...props} />}
-   </MagicBell>,
+   <Provider token="abc123">
+     <FloatingInbox height={500} />
+   </Provider>
  );
}

Package Sidebar

Install

npm i @magicbell/magicbell-react

Weekly Downloads

8,393

Version

11.5.0

License

SEE LICENSE IN LICENSE

Unpacked Size

705 kB

Total Files

708

Last publish

Collaborators

  • mattoxley
  • smeijer
  • unamashana