#150 - added base for empty states
This commit is contained in:
parent
0bebe2ecf1
commit
e796e963f3
21
resources/js/Shared/Feedbacks/EmptyState.vue
Normal file
21
resources/js/Shared/Feedbacks/EmptyState.vue
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<div class="text-center my-5">
|
||||||
|
<slot name="head">
|
||||||
|
<SearchIcon class="mx-auto w-12 h-12" />
|
||||||
|
</slot>
|
||||||
|
<h3 class="mt-2 text-sm font-medium">
|
||||||
|
<slot name="title">
|
||||||
|
No search result
|
||||||
|
</slot>
|
||||||
|
</h3>
|
||||||
|
<p class="text-sm text-gray-500">
|
||||||
|
<slot name="text">
|
||||||
|
Try a different search query
|
||||||
|
</slot>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script setup>
|
||||||
|
import { SearchIcon } from '@heroicons/vue/solid'
|
||||||
|
</script>
|
Loading…
x
Reference in New Issue
Block a user