UNPKG

641 BTypeScriptView Raw
1import type { CSSProperties, FC } from 'react';
2import React from 'react';
3import type { CSSMotionProps } from 'rc-motion';
4import type { OpenConfig, Placement, StackConfig } from './interface';
5export interface NoticeListProps {
6 configList?: OpenConfig[];
7 placement?: Placement;
8 prefixCls?: string;
9 motion?: CSSMotionProps | ((placement: Placement) => CSSMotionProps);
10 stack?: StackConfig;
11 onAllNoticeRemoved?: (placement: Placement) => void;
12 onNoticeClose?: (key: React.Key) => void;
13 className?: string;
14 style?: CSSProperties;
15}
16declare const NoticeList: FC<NoticeListProps>;
17export default NoticeList;