jiaqingjiayi-xiaochengxu/甲情_甲意/miniprogram/node_modules/antd-mini/es/Result/props.d.ts
2024-12-01 19:56:54 +08:00

24 lines
666 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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>;