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

17 lines
603 B
TypeScript

import type { CSSProperties, FC } from 'react';
import React from 'react';
import type { CSSMotionProps } from 'rc-motion';
import type { OpenConfig, Placement } from './interface';
export interface NoticeListProps {
configList?: OpenConfig[];
placement?: Placement;
prefixCls?: string;
motion?: CSSMotionProps | ((placement: Placement) => CSSMotionProps);
onAllNoticeRemoved?: (placement: Placement) => void;
onNoticeClose?: (key: React.Key) => void;
className?: string;
style?: CSSProperties;
}
declare const NoticeList: FC<NoticeListProps>;
export default NoticeList;