mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
3 lines
208 B
TypeScript
3 lines
208 B
TypeScript
export const SettingButton = (text: string, id?: string, type: string = 'secondary') => {
|
|
return `<setting-button ${type ? `data-type="${type}"` : ''} ${id ? `id="${id}"` : ''}>${text}</setting-button>`;
|
|
}; |