feat: Add input number element in setting-utils

This commit is contained in:
frostime 2023-12-28 18:11:21 +08:00
parent 50a2286d43
commit c179519f95
2 changed files with 9 additions and 2 deletions

2
src/libs/index.d.ts vendored
View file

@ -1,4 +1,4 @@
type TSettingItemType = "checkbox" | "select" | "textinput" | "textarea" | "slider" | "button";
type TSettingItemType = "checkbox" | "select" | "textinput" | "textarea" | "number" | "slider" | "button";
interface ISettingItem {
key: string;
value: any;