mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-15 10:00:49 +08:00
d3f618362a
Signed-off-by: jolheiser <john.olheiser@gmail.com>
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>`;
|
|
}
|