jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/less/PageContainer/props.d.ts

78 lines
1.9 KiB
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
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;
};
};