reactnativecomponents
Version:
React Native Components
33 lines (32 loc) • 966 B
TypeScript
import RootManager from '../createRootNode/RootManager';
import Props from './Props';
declare const _default: (args: Props) => RootManager;
export default _default;
/**
* 消息模态框
*/
export declare function info(args: any): RootManager;
/**
* 成功模态框
*/
export declare function success(args: any): RootManager;
/**
* 错误模态框
*/
export declare function error(args: any): RootManager;
/**
* 警告模态框
*/
export declare function warn(args: any): RootManager;
/**
* 弹出框,默认有一个确定按钮
* @param {any} ok 按钮children 内容,默认为"确定"
* @param {any} onOk 按钮onPress事件
* @param {{}} args 其他参数
* @returns {RootManager}
*/
export declare function alert({ ok, onOk, button, ...args }?: any): RootManager;
/**
*/
export declare function confirm({ cancel, ok, onOk, okButton, onCancel, cancelButton, ...args }?: any): RootManager;
export declare function popup(args: any): RootManager;