UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

9 lines (8 loc) 499 B
import * as React from 'react'; import type { NotificationInstance, NotificationConfig } from './interface'; type HolderProps = NotificationConfig & { onAllRemoved?: VoidFunction; }; export declare function useInternalNotification(notificationConfig?: HolderProps): [NotificationInstance, React.ReactElement]; export default function useNotification(notificationConfig?: NotificationConfig): [NotificationInstance, React.ReactElement<any, string | React.JSXElementConstructor<any>>]; export {};