@difizen/mana-react
Version:
9 lines • 478 B
TypeScript
import type { ReactNode } from "react";
import type { NotificationConfig, NotificationInstance } from "./protocol";
export declare function getCloseIcon(prefixCls: string, closeIcon?: ReactNode): ReactNode;
type HolderProps = NotificationConfig & {
onAllRemoved?: VoidFunction;
};
export declare function useInternalNotification(notificationConfig?: HolderProps): readonly [NotificationInstance, React.ReactElement];
export {};
//# sourceMappingURL=use-notification.d.ts.map