Components
<Preferences />
By default, Novu will show the subscriber preferences cog icon on the Inbox component.
Users can enable/disable any active channel in the workflow using subscriber preferences or they can update the preference globally for all workflows under the Global Preferences
.
Preferences Component
The Preferences
component is used to display the subscriber preferences, use it when you want to render preference in another part of your application or a custom layout for the Inbox.
import { Inbox, Preferences } from '@novu/react';
function Novu() {
return (
<Inbox
applicationIdentifier="YOUR_APPLICATION_IDENTIFIER"
subscriberId="YOUR_SUBSCRIBER_ID"
>
<Preferences />
</Inbox>
);
}
Was this page helpful?