You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The types for the PopoverNotificationCenter component imply that it's not possible to let the header contain the button to edit the notification settings in the popover component. This is not true; I can use // @ts-expect-error as a workaround.
👟 Reproduction steps
Use typescript
use PopoverNotificationCenter
supply a header render prop that contains a button to open notification settings
👍 Expected behavior
The header types should match INotificationCenterProps
👎 Actual Behavior with Screenshots
The header types
Novu version
Novu SaaS
npm version
NA
node version
NA
📃 Provide any additional context for the Bug.
I also filed #3285 and am still using this render prop.
I'm updating from the client version 0.3 to 2.0.
👀 Have you spent some time to check if this bug has been raised before?
We've recently released Novu , that will supersede the @novu/notification-center package. Would you consider migrating to Inbox instead? I am also sharing the official migration guide.
📜 Description
The types for the PopoverNotificationCenter component imply that it's not possible to let the header contain the button to edit the notification settings in the popover component. This is not true; I can use
// @ts-expect-error
as a workaround.👟 Reproduction steps
👍 Expected behavior
The header types should match INotificationCenterProps
👎 Actual Behavior with Screenshots
The header types
Novu version
Novu SaaS
npm version
NA
node version
NA
📃 Provide any additional context for the Bug.
I also filed #3285 and am still using this render prop.
I'm updating from the client version 0.3 to 2.0.
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Contributing Guidelines?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: