mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-27 13:35:04 +01:00
5 lines
233 B
JavaScript
5 lines
233 B
JavaScript
|
export function spinner(t, extraClasses = undefined) {
|
||
|
return t.svg({className: Object.assign({"spinner": true}, extraClasses), viewBox:"0 0 100% 100%"},
|
||
|
t.circle({cx:"50%", cy:"50%", r:"45%", pathLength:"100"})
|
||
|
);
|
||
|
}
|