mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
3 lines
226 B
TypeScript
3 lines
226 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>`
|
|
} |