DEV: Allow adding classes to ConditionalLoadingSpinner (#30386)

This commit is contained in:
Jarek Radosz 2024-12-20 14:15:47 +01:00 committed by GitHub
parent 380910aedd
commit a70e7a5cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,6 +15,7 @@ const ConditionalLoadingSpinner = <template>
(if @condition "visible") (if @condition "visible")
(if (eq @size "small") "inline-spinner") (if (eq @size "small") "inline-spinner")
}} }}
...attributes
> >
{{#if @condition}} {{#if @condition}}
<div class="spinner {{@size}}"></div> <div class="spinner {{@size}}"></div>