UNPKG

@rc-component/notification

Version:
14 lines (13 loc) 456 B
import * as React from 'react'; export interface NotificationContextProps { classNames?: { notice?: string; list?: string; }; } export declare const NotificationContext: React.Context<NotificationContextProps>; export interface NotificationProviderProps extends NotificationContextProps { children: React.ReactNode; } declare const NotificationProvider: React.FC<NotificationProviderProps>; export default NotificationProvider;