/// import * as React from "react"; interface HTMLAttributesWeak extends React.HTMLAttributes { title?: any; } export interface NoticeProps extends HTMLAttributesWeak { /** * 样式类名的品牌前缀 */ prefix?: string; /** * 自定义类名 */ className?: string; /** * 自定义内联样式 */ style?: React.CSSProperties; /** * 提示类型 */ type?: "prompt" | "warning" | "system"; /** * 外观形状 */ shape?: "standalone" | "addon"; /** * 尺寸大小 */ size?: "medium" | "large"; /** * 标题 */ title?: React.ReactNode; /** * 内容 */ children?: React.ReactNode; /** * 默认是否显示 */ defaultVisible?: boolean; /** * 当前是否显示 */ visible?: boolean; /** * 是否可关闭 */ closable?: boolean; /** * 关闭时的回调函数 */ onClose?: () => void; /** * 关闭后(动画播放完毕)的回调函数 */ afterClose?: () => void; /** * 自定义图标类型,支持Icon列表请参考[Icon组件](http://fusion-demo.alibaba-inc.com/components?type=next&themeId=next&name=icon#Icon-0) */ iconType?: string; /** * 是否开启动画 */ animation?: boolean; } export default class Notice extends React.Component {}