@notificationapi/react 0.0.6 → 0.0.8
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.
- package/dist/components/Notifications/Inbox.d.ts +1 -0
- package/dist/components/Notifications/InboxHeader.d.ts +3 -2
- package/dist/components/Notifications/Notification.d.ts +3 -2
- package/dist/components/Notifications/NotificationCounter.d.ts +1 -1
- package/dist/components/Notifications/NotificationFeed.d.ts +1 -0
- package/dist/components/Notifications/NotificationLauncher.d.ts +1 -0
- package/dist/components/Notifications/NotificationPopup.d.ts +1 -0
- package/dist/components/Notifications/UnreadBadge.d.ts +1 -1
- package/dist/components/Preferences/NotificationPreferencesInline.d.ts +3 -2
- package/dist/components/Preferences/NotificationPreferencesPopup.d.ts +3 -2
- package/dist/components/Preferences/PreferenceGroup.d.ts +2 -1
- package/dist/components/Preferences/Preferences.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
export declare enum ImageShape {
|
|
3
4
|
square = "square",
|
|
4
5
|
circle = "circle"
|
|
@@ -8,4 +9,4 @@ export declare const Notification: (props: {
|
|
|
8
9
|
markAsArchived: (ids: string[] | "ALL") => void;
|
|
9
10
|
markAsClicked: (id: string) => void;
|
|
10
11
|
imageShape: keyof typeof ImageShape;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
+
}) => React.JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare function NotificationPreferencesInline(props: React.HTMLAttributes<HTMLElement>): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
2
3
|
type NotificationPreferencesPopupProps = {
|
|
3
4
|
open?: boolean;
|
|
4
5
|
onClose?: () => void;
|
|
5
6
|
};
|
|
6
|
-
export declare function NotificationPreferencesPopup(props: NotificationPreferencesPopupProps): JSX.Element;
|
|
7
|
+
export declare function NotificationPreferencesPopup(props: NotificationPreferencesPopupProps): React.JSX.Element;
|
|
7
8
|
export {};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { Channels } from '../Provider';
|
|
2
3
|
|
|
3
4
|
export declare const getChannelLabel: (c: Channels) => string;
|
|
4
5
|
export declare const getChannelIcon: (channel: Channels) => React.ReactElement;
|
|
5
|
-
export declare function Preferences(): JSX.Element | null;
|
|
6
|
+
export declare function Preferences(): React.JSX.Element | null;
|