mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
15 lines
319 B
Vue
15 lines
319 B
Vue
|
|
<script setup lang="ts">
|
||
|
|
import { cn } from "@/lib/utils";
|
||
|
|
import type { HTMLAttributes } from "vue";
|
||
|
|
|
||
|
|
interface SkeletonProps {
|
||
|
|
class?: HTMLAttributes["class"];
|
||
|
|
}
|
||
|
|
|
||
|
|
const props = defineProps<SkeletonProps>();
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<div :class="cn('animate-pulse rounded-md bg-muted', props.class)" />
|
||
|
|
</template>
|