♻️ showSnackbar重构

This commit is contained in:
目棃
2024-11-14 18:01:38 +08:00
parent 20b9631468
commit ac6dbe0cdf
69 changed files with 614 additions and 1098 deletions

View File

@@ -1,14 +1,14 @@
/**
* @file types Component Snackbar.d.ts
* @description Component Snackbar 类型声明文件
* @since Beta v0.3.4
* @since Beta v0.6.3
*/
declare namespace TGApp.Component.Snackbar {
/**
* @description Snackbar 参数
* @interface Params
* @since Alpha v0.2.3
* @since Beta v0.6.3
* @property {string} text 文本
* @property {string} color 颜色
* @property {number} timeout 超时时间
@@ -17,7 +17,7 @@ declare namespace TGApp.Component.Snackbar {
*/
interface Params {
text: string;
color?: string;
timeout?: number;
color: string;
timeout: number;
}
}