**Describe the bug** Specifying the Paginator prop as a JSX element breaks NotificationDropdown: no notifications nor loader are displayed, the content is empty. **To Reproduce** ``` <StreamApp apiKey={apiKey} appId={appId} token={token}> <NotificationDropdown notify right width={400} Paginator={<InfiniteScrollPaginator />} /> </StreamApp> ``` It works with: `Paginator={InfiniteScrollPaginator}` Use case: I need to specify a custom Loader prop on InfiniteScrollPaginator and it's impossible due to this bug. **Expected behavior** I can pass a custom paginator component as a Component or <Component /> like for the other props. **Screenshots** N/A **Desktop (please complete the following information):** - OS: macos monterey - Browser: chrome - Version: 104 **Smartphone (please complete the following information):** N/A **Additional context** N/A
Describe the bug
Specifying the Paginator prop as a JSX element breaks NotificationDropdown: no notifications nor loader are displayed, the content is empty.
To Reproduce
It works with:
Paginator={InfiniteScrollPaginator}Use case:
I need to specify a custom Loader prop on InfiniteScrollPaginator and it's impossible due to this bug.
Expected behavior
I can pass a custom paginator component as a Component or like for the other props.
Screenshots
N/A
Desktop (please complete the following information):
Smartphone (please complete the following information):
N/A
Additional context
N/A