1 | import * as React from 'react';
|
2 | import type { NoticeConfig } from './interface';
|
3 | export interface NoticeProps extends Omit<NoticeConfig, 'onClose'> {
|
4 | prefixCls: string;
|
5 | className?: string;
|
6 | style?: React.CSSProperties;
|
7 | eventKey: React.Key;
|
8 | onClick?: React.MouseEventHandler<HTMLDivElement>;
|
9 | onNoticeClose?: (key: React.Key) => void;
|
10 | hovering?: boolean;
|
11 | }
|
12 | declare const Notify: React.ForwardRefExoticComponent<NoticeProps & {
|
13 | times?: number;
|
14 | } & React.RefAttributes<HTMLDivElement>>;
|
15 | export default Notify;
|