UNPKG

@salvoravida/reapop

Version:

A simple & customizable notifications system for React

7 lines (6 loc) 422 B
import { NotificationConfig } from '../constants'; import { NewNotification, Notification } from '../reducers/notifications/types'; export declare const setUpNotifications: (props: Partial<NotificationConfig>) => void; export declare const resetNotificationsConfig: () => void; export declare const generateId: () => string; export declare const prepareNotification: (notification: NewNotification) => Notification;