mod-arch-core
Version:
Core functionality and API utilities for modular architecture micro-frontend projects
15 lines • 629 B
TypeScript
import React from 'react';
import { Notification, NotificationAction } from '../types';
type NotificationContextProps = {
notifications: Notification[];
notificationCount: number;
updateNotificationCount: React.Dispatch<React.SetStateAction<number>>;
dispatch: React.Dispatch<NotificationAction>;
};
export declare const NotificationContext: React.Context<NotificationContextProps>;
type NotificationContextProviderProps = {
children: React.ReactNode;
};
export declare const NotificationContextProvider: React.FC<NotificationContextProviderProps>;
export {};
//# sourceMappingURL=NotificationContext.d.ts.map