@magicbell/magicbell-react@10.4.0
·
658 commits
to main
since this release
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> ); }