@bothub-chat/ui
Version:
Bothub UI Components
8 lines (7 loc) • 373 B
TypeScript
import React from 'react';
export interface NotificationsContextValue {
isInNotificationList: boolean;
}
export declare const NotificationsContext: React.Context<NotificationsContextValue>;
export declare const NotificationsProvider: React.FC<NotificationsContextValue & React.PropsWithChildren>;
export declare const useNotifications: () => NotificationsContextValue;