15 lines
313 B
Vue
15 lines
313 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 :class="cn('animate-pulse rounded-md bg-muted', props.class)" />
|
|
</template>
|