<template>
    <div
        :class="['animate-pulse', rounded, customClass]"
        :style="{ width, height, background }"
    />
</template>

<script setup lang="ts">
withDefaults(defineProps<{
    width?: string
    height?: string
    rounded?: string
    background?: string
    customClass?: string
}>(), {
    width: '50%',
    height: '1rem',
    rounded: 'rounded-md',
    background: '#e5e7eb',
    customClass: ''
})
</script>
