mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
♻️ showSnackbar重构
This commit is contained in:
8
src/types/Component/Snackbar.d.ts
vendored
8
src/types/Component/Snackbar.d.ts
vendored
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user