feat:webui-2

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

View File

@@ -0,0 +1,3 @@
export const SettingButton = (text: string, id?: string, type: string = 'secondary') => {
return `<setting-button ${type ? `data-type="${type}"` : ''} ${id ? `id="${id}"` : ''}>${text}</setting-button>`
}