test: setting panel

This commit is contained in:
frostime 2023-11-28 21:49:25 +08:00
parent b0d28e2513
commit 2051a2a7d6
5 changed files with 107 additions and 111 deletions

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

@ -5,17 +5,13 @@ interface ISettingItem {
type: TSettingItemType;
title: string;
description?: string;
text?: {
placeholder?: string;
};
placeholder?: string;
slider?: {
min: number;
max: number;
step: number;
};
select?: {
options: { [key: string | number]: string };
};
options?: { [key: string | number]: string };
button?: {
label: string;
callback: () => void;