mirror of
https://github.com/go-gitea/gitea
synced 2024-08-18 13:20:51 +02:00
4 lines
160 B
JavaScript
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>`;
|
|
}
|