mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-11 23:40:24 +00:00
feat:webui-2
This commit is contained in:
3
static/components/SettingOption.ts
Normal file
3
static/components/SettingOption.ts
Normal 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>`
|
||||
}
|
||||
Reference in New Issue
Block a user