Line data Source code
1 16 : <script setup lang="ts">
2 : import type { HTMLAttributes } from 'vue'
3 :
4 : import { cn } from '@comfyorg/tailwind-utils'
5 :
6 : const { class: customClass = '' } = defineProps<{
7 : class?: HTMLAttributes['class']
8 : }>()
9 : </script>
10 :
11 : <template>
12 59 : <svg
13 : role="progressbar"
14 : :class="cn('size-6 animate-spin text-muted-foreground', customClass)"
15 : viewBox="0 0 24 24"
16 : fill="none"
17 : xmlns="http://www.w3.org/2000/svg"
18 : >
19 : <circle
20 : class="opacity-25"
21 : cx="12"
22 : cy="12"
23 : r="10"
24 : stroke="currentColor"
25 : stroke-width="4"
26 : />
27 : <path
28 : class="opacity-75"
29 : fill="currentColor"
30 : d="M4 12a8 8 0 0 1 8-8v4a4 4 0 0 0-4 4H4Z"
31 : />
32 : </svg>
33 : </template>
|