Files
hossein-por-shop/frontend/components/global/Placeholder.vue
T
2025-02-02 23:05:59 +03:30

24 lines
470 B
Vue

<script setup lang="ts">
// types
type Props = {
title: string;
icon: string;
};
// props
defineProps<Props>();
</script>
<template>
<div
class="w-full flex-col flex-grow py-[12rem] gap-6 border-2 border-slate-200 border-dashed size-full rounded-100 flex-center"
>
<Icon :name="icon" size="50" class="**:fill-gray-500" />
<span class="text-lg text-gray-500"> {{ title }} </span>
</div>
</template>
<style scoped></style>