@alifd/meet-react
Version:
Fusion Mobile React UI System Component
17 lines (16 loc) • 717 B
TypeScript
import { ForwardRefExoticComponent } from 'react';
import { ShowOptions } from './func';
import { MessageProps } from './message';
import './styles/index.scss';
export interface MessageComponent extends ForwardRefExoticComponent<MessageProps> {
show: (options: ShowOptions) => () => void;
success: (options: string | ShowOptions) => () => void;
error: (options: string | ShowOptions) => () => void;
notice: (options: string | ShowOptions) => () => void;
help: (options: string | ShowOptions) => () => void;
loading: (options: string | ShowOptions) => () => void;
hide: () => void;
}
declare const ExpandedMessage: MessageComponent;
export { MessageProps };
export default ExpandedMessage;