@veltdev/react
Version:
Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.
13 lines (12 loc) • 724 B
TypeScript
import { GetNotificationsDataQuery, Notification, NotificationElement, NotificationInitialSettingsConfig, NotificationSettingsConfig } from "@veltdev/types";
export declare function useNotificationUtils(): NotificationElement | undefined;
export declare function useNotificationsData(query?: GetNotificationsDataQuery): Notification[] | null;
export declare function useUnreadNotificationsCount(): {
forYou: number | null;
all: number | null;
};
export declare function useNotificationSettings(): {
setSettings: (settings: NotificationSettingsConfig) => void;
setSettingsInitialConfig: (settingsInitialConfig: NotificationInitialSettingsConfig[]) => void;
settings: NotificationSettingsConfig | null;
};