Spinner.vue 379 B

1234567891011121314151617
  1. <script setup lang="ts">
  2. import type { HTMLAttributes } from "vue"
  3. import { Loader2Icon } from "lucide-vue-next"
  4. import { cn } from '@/Packages/Shadcn/Lib/utils'
  5. const props = defineProps<{
  6. class?: HTMLAttributes["class"]
  7. }>()
  8. </script>
  9. <template>
  10. <Loader2Icon
  11. role="status"
  12. aria-label="Loading"
  13. :class="cn('size-4 animate-spin', props.class)"
  14. />
  15. </template>