antd-mobile-taro-ui
Version:
以antd-mobile为设计标准,基于taro框架的微信小程序组件库
8 lines (7 loc) • 319 B
TypeScript
import { ReactNode } from 'react';
import { DialogProps } from './index';
export declare type DialogAlertProps = Omit<DialogProps, 'visible' | 'closeOnAction' | 'actions'> & {
confirmText?: ReactNode;
onConfirm?: () => void | Promise<void>;
};
export declare function alert(p: DialogAlertProps): Promise<void>;