amis-rpc-design/node_modules/rc-notification/es/Notice.d.ts
2023-10-07 19:42:30 +08:00

15 lines
513 B
TypeScript

import * as React from 'react';
import type { NoticeConfig } from './interface';
export interface NoticeProps extends Omit<NoticeConfig, 'onClose'> {
prefixCls: string;
className?: string;
style?: React.CSSProperties;
eventKey: React.Key;
onClick?: React.MouseEventHandler<HTMLDivElement>;
onNoticeClose?: (key: React.Key) => void;
}
declare const Notify: React.ForwardRefExoticComponent<NoticeProps & {
times?: number;
} & React.RefAttributes<HTMLDivElement>>;
export default Notify;