@ukpc-lib/react 0.3.34 → 0.3.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,7 +31,7 @@ const channel = new BroadcastChannel('my-channel');
31
31
  messaging.onBackgroundMessage(function(payload) {
32
32
  console.log('Received background message ', payload);
33
33
 
34
- const notificationTitle = payload.data.userName;
34
+ const notificationTitle = payload.data.actorName;
35
35
  const notificationOptions = {
36
36
  body: `${payload.data.message} ${payload.data.context}`,
37
37
  icon: 'https://ukpcsaprod.blob.core.windows.net/saas/notification-icon.svg',
@@ -1,4 +1,3 @@
1
- declare const NotFoundPage: ({ rootPath }: {
1
+ export declare function NotFoundPage({ rootPath }: {
2
2
  rootPath: string;
3
- }) => import("react/jsx-runtime").JSX.Element;
4
- export default NotFoundPage;
3
+ }): import("react/jsx-runtime").JSX.Element;
@@ -7,6 +7,7 @@ export interface NotificationItemProps {
7
7
  baseUrl: string;
8
8
  notiPath?: string;
9
9
  brandColors?: ColorsType;
10
+ notiUnreadNumber?: number;
10
11
  }
11
12
  export declare class Paging<T> {
12
13
  rows: T[];
@@ -1,5 +1,5 @@
1
1
  import { ColorsType } from '../../../theme/Colors';
2
- export default function NotificationIcon({ iconColor, baseUrl, notiPath, brandColors }: {
2
+ export default function NotificationIcon({ iconColor, baseUrl, notiPath, brandColors, }: {
3
3
  iconColor?: string;
4
4
  baseUrl: string;
5
5
  notiPath?: string;