Files
Aether/frontend/src/components/ui/skeleton.vue
2025-12-10 20:52:44 +08:00

19 lines
325 B
Vue

<script setup lang="ts">
import { cn } from '@/lib/utils'
import { computed } from 'vue'
interface Props {
class?: string
}
const props = defineProps<Props>()
const skeletonClass = computed(() =>
cn('animate-pulse rounded-md bg-muted', props.class)
)
</script>
<template>
<div :class="skeletonClass" />
</template>