mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
4 lines
210 B
TypeScript
4 lines
210 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>`;
|
|
} |