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