1 | import type { CSSProperties, FC } from 'react';
|
2 | import React from 'react';
|
3 | import type { CSSMotionProps } from 'rc-motion';
|
4 | import type { OpenConfig, Placement, StackConfig } from './interface';
|
5 | export 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 | }
|
16 | declare const NoticeList: FC<NoticeListProps>;
|
17 | export default NoticeList;
|