Files
OCS_service/app/components/ui/skeleton/Skeleton.vue
T
2026-05-22 16:27:35 +08:00

18 lines
345 B
Vue

<script setup lang="ts">
import type { HTMLAttributes } from 'vue'
import { cn } from '@/lib/utils'
interface SkeletonProps {
class?: HTMLAttributes['class']
}
const props = defineProps<SkeletonProps>()
</script>
<template>
<div
data-slot="skeleton"
:class="cn('bg-muted rounded-2xl animate-pulse', props.class)"
/>
</template>