mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
3 lines
224 B
TypeScript
3 lines
224 B
TypeScript
export const SettingOption = (text: string, value?: string, isSelected: boolean = false) => {
|
|
return `<setting-option ${value ? `data-value="${value}"` : ''} ${isSelected ? 'is-selected' : ''}>${text}</setting-option>`;
|
|
}; |