feat:webui-2

This commit is contained in:
手瓜一十雪 committed 2024-05-05 13:01:23 +08:00
1 parent 13b57b5238
commit b6430990c0
7 files changed
+128 -12

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
export const SettingOption = (text: string, value?: string, isSelected: boolean = false) => {
return `<setting-option ${value ? `data-value="${value}"` : ''} ${isSelected ? 'is-selected' : ''}>${text}</setting-option>`
}