@opensig/opendesign
Version:
28 lines (27 loc) • 662 B
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
export declare const ResultStatusTypes: readonly ["info", "success", "warning", "danger"];
export type ResultStatusT = (typeof ResultStatusTypes)[number];
export declare const resultProps: {
/**
* @zh-CN 状态
* @en-US Status.
*/
status: {
type: PropType<ResultStatusT>;
};
/**
* @zh-CN 标题
* @en-US Title.
*/
title: {
type: StringConstructor;
};
/**
* @zh-CN 描述
* @en-US Description.
*/
description: {
type: StringConstructor;
};
};
export type ResultPropsT = ExtractPropTypes<typeof resultProps>;