are-message
Version:
This is a React global notification message component. It is a standalone implementation of the are-visual message component.
22 lines (21 loc) • 444 B
TypeScript
import React, { PropsWithChildren } from 'react';
export declare type MessageProps = PropsWithChildren<{
/**
* 设置类名
*/
className?: string;
/**
* 设置行内样式
*/
style?: React.CSSProperties;
/**
* 类名前缀
*/
prefixCls?: string;
/**
* 目标渲染容器
*/
holder?: HTMLElement;
}>;
declare const Message: React.VFC<MessageProps>;
export default Message;