antd-mini
Version:
antd-mini 是支付宝小程序 UI 组件库,遵循 Ant Design 规范。
24 lines (23 loc) • 666 B
TypeScript
import { IBaseProps } from '../_util/base';
/**
* @description 结果页,用于展示用户操作后的信息反馈。
*/
export interface IResultProps extends IBaseProps {
/**
* @description 内置类型 success=成功 error=错误/危险 info=信息提示 wait=等待处理
*/
type: 'success' | 'error' | 'info' | 'warning' | 'wait';
/**
* @description 自定义图片,如果配置了 type, 则不生效
*/
image: string;
/**
* @description 主文案
*/
title: string;
/**
* @description 副文案
*/
message: string;
}
export declare const ResultDefaultProps: Partial<IResultProps>;