The NotificationMenu
component renders a list of notifications sent to the customer.
<NotificationMenu clientSecret={clientSecret} />
<NotificationMenu
clientSecret={clientSecret}
position={NotificationDropdownPosition.LEFT}
isDarkMode={true}
/>
prop | type | description |
---|---|---|
clientSecret | Required string | The client secret generated by the API call. |
position | Optional NotificationDropdownPosition | Where the dropdown menu is shown in relation to the dropdown button. Defaults to center. |
isDarkMode | Optional boolean | Whether to render in dark mode. |