You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
535 B
8 lines
535 B
import * as React from 'react';
|
|
import { NotificationInstance as RCNotificationInstance, NoticeContent as RCNoticeContent } from 'rc-notification/lib/Notification';
|
|
import { NotificationInstance, ArgsProps } from '..';
|
|
export default function createUseNotification(getNotificationInstance: (args: ArgsProps, callback: (info: {
|
|
prefixCls: string;
|
|
instance: RCNotificationInstance;
|
|
}) => void) => void, getRCNoticeProps: (args: ArgsProps, prefixCls: string) => RCNoticeContent): () => [NotificationInstance, React.ReactElement];
|