NotificationProvider.d.ts 478 B

1234567891011121314
  1. import type { FC } from 'react';
  2. import React from 'react';
  3. export interface NotificationContextProps {
  4. classNames?: {
  5. notice?: string;
  6. list?: string;
  7. };
  8. }
  9. export declare const NotificationContext: React.Context<NotificationContextProps>;
  10. export interface NotificationProviderProps extends NotificationContextProps {
  11. children: React.ReactNode;
  12. }
  13. declare const NotificationProvider: FC<NotificationProviderProps>;
  14. export default NotificationProvider;