@salvoravida/reapop
Version:
A simple & customizable notifications system for React
8 lines (7 loc) • 331 B
TypeScript
import { NotificationActions } from './actions';
import { Notification } from './types';
declare type InitReduxAction = {
type: string;
};
declare const notificationsReducer: () => (state: Notification[] | undefined, action: NotificationActions | InitReduxAction) => Notification[];
export default notificationsReducer;