Skip to content

@magicbell/magicbell-react@10.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Feb 12:30
· 658 commits to main since this release
6ec5187

Minor Changes

  • 4347cf3 Thanks @smeijer! - feat: category labels in the preferences pane are now translatable.

    const customLocale = {
      name: 'en',
      translations: {
        preferences: {
          categories: { // mapping from slug > label
            billing: 'My Billing',
          },
        },
      },
    };
    
    function MyComponent() {
      return (
        <MagicBell locale={customLocale} apiKey={MAGICBELL_API_KEY} userEmail="john@example.com" />
          {(props) => <FloatingNotificationInbox height={450} {...props} />}
        </MagicBell>
      );
    }