MrShi
7 天以前 1ab34d6347171b10acf78fcd3d6678eac0483bae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { ICommonAPIParams } from '../../constant/types';
/**
 * 弹出输出入对话框 请求参数定义
 * @apiName prompt
 */
export interface IUnionPromptParams extends ICommonAPIParams {
    title: string;
    message: string;
    placeholder: string;
    okButtonText: string;
    cancelButtonText: string;
}
/**
 * 弹出输出入对话框 返回结果定义
 * @apiName prompt
 */
export interface IUnionPromptResult {
    value: string;
    buttonIndex: number;
}
/**
 * 弹出输出入对话框
 * @apiName prompt
 */
export declare function prompt$(params: IUnionPromptParams): Promise<IUnionPromptResult>;
export default prompt$;