mirror of
https://github.com/siyuan-note/plugin-sample-vite-svelte.git
synced 2025-08-02 00:23:30 +00:00
✅ test: setting panel
This commit is contained in:
parent
b0d28e2513
commit
2051a2a7d6
5 changed files with 107 additions and 111 deletions
8
src/libs/index.d.ts
vendored
8
src/libs/index.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue