Co-Authored-By: Wesley F. Young <25684570+Wesley-Young@users.noreply.github.com>
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>`;
|
|
}; |