️ emits 真好用x

This commit is contained in:
目棃
2024-01-27 19:54:00 +08:00
parent 65063424db
commit a30d8e3a28
5 changed files with 118 additions and 38 deletions

28
src/types/Component/Loading.d.ts vendored Normal file
View File

@@ -0,0 +1,28 @@
/**
* @file types/Component/Loading.d.ts
* @description Component Loading 类型声明文件
* @since Beta v0.4.2
*/
/**
* @description Loading 命名空间
* @namespace TGApp.Component.Loading
* @since Beta v0.4.2
* @memberof TGApp.Component
*/
declare namespace TGApp.Component.Loading {
/**
* @description Loading 参数-用于Emits
* @since Beta v0.4.2
* @interface EmitParams
* @property {boolean} show 显示
* @property {string} title 标题
* @property {string} text 副标题
* @return EmitParams
*/
interface EmitParams {
show: boolean;
title?: string;
text?: string;
}
}