forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js/utils.js

4 lines
160 B
JavaScript

export function svg(name, size) {
return `<svg class="svg ${name}" width="${size}" height="${size}" aria-hidden="true"><use xlink:href="#${name}"/></svg>`;
}