UNPKG

@aliretail/react-materials-components

Version:
26 lines (25 loc) 794 B
import * as React from 'react'; import { Message } from '@alifd/next'; import * as PropTypes from 'prop-types'; declare type MessageProps = typeof Message.defaultProps & { text: string; shape?: 'inline' | 'addon' | 'toast'; title: string; type?: 'success' | 'warning' | 'error' | 'notice' | 'help' | 'loading'; }; declare class MessageNotice extends React.Component<MessageProps> { static propTypes: { text: PropTypes.Requireable<string>; shape: PropTypes.Requireable<string>; title: PropTypes.Requireable<string>; type: PropTypes.Requireable<string>; }; static defaultProps: { text: string; shape: string; title: string; type: string; }; render(): JSX.Element; } export default MessageNotice;