amis-rpc-design/node_modules/rc-notification/lib/NotificationProvider.d.ts
2023-10-07 19:42:30 +08:00

15 lines
478 B
TypeScript

import type { FC } from 'react';
import 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: FC<NotificationProviderProps>;
export default NotificationProvider;