提交
This commit is contained in:
77
甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/props.d.ts
generated
vendored
Normal file
77
甲情_甲意/miniprogram/node_modules/antd-mini/less/PageContainer/props.d.ts
generated
vendored
Normal file
@ -0,0 +1,77 @@
|
||||
import { IBaseProps } from '../_util/base';
|
||||
/**
|
||||
* @description 页面容器,提供开箱即用的页面状态展示和基础能力。
|
||||
*/
|
||||
export interface IPageProps extends IBaseProps {
|
||||
/**
|
||||
* @description 安全区内边距位置 top=顶部 bottom=底部 both=顶部和底部
|
||||
*/
|
||||
safeArea?: 'top' | 'bottom' | 'both';
|
||||
/**
|
||||
* @description 加载中
|
||||
*/
|
||||
loading?: boolean;
|
||||
/**
|
||||
* @description 加载样式类型,参考 Loading 组件
|
||||
*/
|
||||
loadingType?: string;
|
||||
/**
|
||||
* @description 加载样式大小,参考 Loading 组件
|
||||
*/
|
||||
loadingSize?: string;
|
||||
/**
|
||||
* @description 加载样式颜色,参考 Loading 组件
|
||||
*/
|
||||
loadingColor?: string;
|
||||
/**
|
||||
* @description 页面异常状态
|
||||
*/
|
||||
status?: 'failed' | 'busy' | 'disconnected' | 'empty';
|
||||
/**
|
||||
* @description 页面异常状态-标题
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
* @description 页面异常状态-描述
|
||||
*/
|
||||
message?: string;
|
||||
/**
|
||||
* @description 页面异常状态-按钮文案
|
||||
*/
|
||||
actionText?: string;
|
||||
/**
|
||||
* @description 页面异常状态-次要按钮文案
|
||||
*/
|
||||
secondaryActionText?: string;
|
||||
/**
|
||||
* @description 页面异常状态-按钮点击事件
|
||||
*/
|
||||
onActionTap?: (e: any) => void;
|
||||
/**
|
||||
* @description 页面异常状态-次要按钮点击事件
|
||||
*/
|
||||
onSecondaryActionTap?: (e: any) => void;
|
||||
}
|
||||
export declare const PageDefaultProps: IPageProps;
|
||||
export declare const BuiltinStatus: {
|
||||
failed: {
|
||||
image: string;
|
||||
title: string;
|
||||
message: string;
|
||||
};
|
||||
disconnected: {
|
||||
image: string;
|
||||
title: string;
|
||||
message: string;
|
||||
};
|
||||
empty: {
|
||||
title: string;
|
||||
message: string;
|
||||
image: string;
|
||||
};
|
||||
busy: {
|
||||
image: string;
|
||||
title: string;
|
||||
message: string;
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user