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
1 changed files with 1 additions and 0 deletions

View File

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