Skip to content

@magicbell/magicbell-react@11.5.0

Compare
Choose a tag to compare
@MagicBella MagicBella released this 02 Jul 13:04
· 30 commits to main since this release
ca47359

Minor Changes

  • #549 f710971 Thanks @smeijer! - 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>
      );
    }

Patch Changes

  • Updated dependencies [f710971, f710971]:
    • @magicbell/react-headless@5.5.0
    • @magicbell/webpush@2.2.0