#150 - updated empty states

This commit is contained in:
Kamil Niemczycki 2022-07-08 14:45:18 +02:00
parent 0e06c6ec54
commit 40e74be394
Signed by: kamilniemczycki
GPG Key ID: 04D4E2012F969213

View File

@ -8,7 +8,10 @@
No search result
</slot>
</h3>
<p class="text-sm">
<p
v-if="showDescription"
class="text-sm"
>
<slot name="text">
Try a different search query
</slot>
@ -18,4 +21,11 @@
<script setup>
import { SearchIcon } from '@heroicons/vue/solid'
defineProps({
showDescription: {
type: Boolean,
default: true,
},
})
</script>