first commit
This commit is contained in:
26
frontend/node_modules/antd/lib/notification/index.d.ts
generated
vendored
Normal file
26
frontend/node_modules/antd/lib/notification/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
import React from 'react';
|
||||
import type { ArgsProps, GlobalConfigProps } from './interface';
|
||||
import PurePanel from './PurePanel';
|
||||
import useNotification from './useNotification';
|
||||
export type { ArgsProps };
|
||||
interface BaseMethods {
|
||||
open: (config: ArgsProps) => void;
|
||||
destroy: (key?: React.Key) => void;
|
||||
config: (config: GlobalConfigProps) => void;
|
||||
useNotification: typeof useNotification;
|
||||
/** @private Internal Component. Do not use in your production. */
|
||||
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
||||
}
|
||||
type StaticFn = (config: ArgsProps) => void;
|
||||
interface NoticeMethods {
|
||||
success: StaticFn;
|
||||
info: StaticFn;
|
||||
warning: StaticFn;
|
||||
error: StaticFn;
|
||||
}
|
||||
declare const staticMethods: NoticeMethods & BaseMethods;
|
||||
declare const actWrapper: (wrapper: any) => void;
|
||||
export { actWrapper };
|
||||
declare const actDestroy: () => void;
|
||||
export { actDestroy };
|
||||
export default staticMethods;
|
||||
Reference in New Issue
Block a user